The Talmud
זבחים דף ג׳Zevachim 3a
Amud a of Zevachim 3 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Zevachim 3a · זבחים ג׳ א
יתר על כן כתב לגרש את אשתו ונמלך מצאו בן עירו ואמר לו שמי כשמך ושם אשתי כשם אשתך פסול לגרש בו
More than that: if he wrote to divorce his wife and then changed his mind, and a fellow townsman of his found him and said to him, my name is as your name and the name of my wife is as the name of your wife — it is invalid to divorce with it.
דילמא שאני התם דאינתיק ליה לשם גירושין דההוא
Perhaps it is different there, for it was set aside for the sake of the divorce of that man.
אלא מהא יתר על כן יש לו שתי נשים ששמותיהן שוות כתב לגרש את הגדולה לא יגרש בו את הקטנה
Rather, from this: more than that, if he had two wives whose names were the same, if he wrote to divorce the elder, he may not divorce the younger with it.
דילמא שאני התם דאינתיק ליה לשם גירושין דההיא
Perhaps it is different there, for it was set aside for the sake of the divorce of that woman.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.