שולחן ערוך, אבן העזר, Seder Halitzah Seder Halitzah · טו
Shulchan Arukh, Even HaEzer 294
יזהירו ב"ד את היבמה שלא תרוק בפני היבם עד שתחלוץ: הגה גם יזהרו מאד שלא תעלה בידן חליצה פסולה שלא תצטרך לחלוץ אח"כ מכל האחין (הגהות אלפסי סוף מצות חליצה) (וע"ל סי' ק"ע):
The court should warn the yevama (levirate wife) not to spit in front of the yavam until she removes [the shoe]. Rama: They should be extremely careful that they do not arrive at [lit.: it shall not arise in their hands] an invalid chalitza, so that she should not need to receive chalitza afterward from all the brothers (Hagahot Alfasi, end of laws of Chalitza), and see infra chapter 170.