שולחן ערוך, אבן העזר, Seder HaGet Seder HaGet · ה
Shulchan Arukh, Even HaEzer 183
צריך שיכירו שזה הוא פלוני וזו היא אשתו פלונית אלא אם כן הוא שעת הסכנה:
It necessary to recognize that this is so-and-so and this is his wife so-and-so unless it is an extreme emergency.