The Talmud
יבמות דף ב׳Yevamot 2b
Amud b of Yevamot 2 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Yevamot 2b · יבמות ב׳ ב
ואשת אחיו שלא היה בעולמו וכלתו הרי אלו פוטרות צרותיהן וצרות צרותיהן מן החליצה ומן הייבום עד סוף העולם
— and the wife of his brother who was not in his world, and his daughter-in-law: behold, these exempt their co-wives, and the co-wives of their co-wives, from chalitzah and from yibbum, to the end of the world.
וכולן אם מתו או מיאנו
And all of them — if they died, or made refusal (the declaration by which a girl married off while still a minor annuls the marriage),
או נתגרשו או שנמצאו אילונית צרותיהן מותרות
or were divorced, or were found to be an ailonit (a woman incapable of bearing), their co-wives are permitted.
ואי אתה יכול לומר בחמותו ובאם חמותו ובאם חמיו שנמצאו אילונית או שמיאנו
And you cannot say of his mother-in-law, and of his mother-in-law's mother, and of his father-in-law's mother, that they were found to be an ailonit or that they made refusal.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.