The Talmud
יבמות דף ל״וYevamot 36a
Amud a of Yevamot 36 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Yevamot 36a · יבמות ל״ו א
דכל העולה ליבום עולה לחליצה וכל שאין עולה ליבום אינו עולה לחליצה
— that whoever is subject to yibbum (levirate marriage — that a man take the widow of the brother who died childless) is subject to chalitzah (the removing of the shoe, by which the widow of a brother who died childless is released), and whoever is not subject to yibbum is not subject to chalitzah.
אלא אמר רבא הכי קאמר הכונס יבמתו ונמצאת מעוברת הרי זו לא תנשא צרתה שמא יהא ולד בן קיימא וביאת מעוברת לא שמה ביאה וחליצת מעוברת לא שמה חליצה והולד אינו פוטר עד שיצא לאויר העולם
Rather, Rava said: this is what it means: one who marries his yevamah (the childless widow whom her husband's brother takes in marriage), and she was found to be pregnant — her co-wife may not marry, lest the child be viable; and the intercourse of a pregnant woman is not called intercourse, and the chalitzah of a pregnant woman is not called chalitzah; and the offspring does not exempt until it has come out into the air of the world.
תניא כוותיה דרבא הכונס יבמתו ונמצאת מעוברת הרי זו לא תנשא צרתה שמא יהא ולד בן קיימא ואין ביאה וחליצה פוטרת אלא ולד פוטר והולד אין פוטרה עד שיצא לאויר העולם
It was taught in accordance with Rava: one who marries his yevamah, and she was found to be pregnant — her co-wife may not marry, lest the child be viable; and neither intercourse nor chalitzah exempts, but the child exempts; and the offspring does not exempt her until it has come out into the air of the world.
טעמא דשמא יהא ולד בן קיימא הוא הא לא הוי ולד בן קיימא מיפטר צרתה לימא תיהוי תיובתא דר"ל
The reason is lest the child be viable; but if the child is not viable, her co-wife is exempted. Shall we say that this is a refutation of Reish Lakish?
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.