The Talmud
יבמות דף ל״הYevamot 35b
Amud b of Yevamot 35 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Yevamot 35b · יבמות ל״ה ב
מתני׳ החולץ ליבמתו ונמצאת מעוברת וילדה בזמן שהולד של קיימא הוא מותר בקרובותיה והיא מותרת בקרוביו ולא פסלה מן הכהונה
MISHNAH. One who performs chalitzah (the removing of the shoe, by which the widow of a brother who died childless is released) for his yevamah (the childless widow whom her husband's brother takes in marriage), and she was found to be pregnant and gave birth — when the offspring is viable, he is permitted to her relatives and she is permitted to his relatives, and she is not disqualified from the priesthood.
אין הולד של קיימא הוא אסור בקרובותיה והיא אסורה בקרוביו ופסלה מן הכהונה
If the offspring is not viable, he is forbidden to her relatives and she is forbidden to his relatives, and she is disqualified from the priesthood.
הכונס את יבמתו ונמצאת מעוברת וילדה בזמן שהולד של קיימא יוציא וחייבין בקרבן
One who marries his yevamah, and she was found to be pregnant and gave birth — when the offspring is viable, he must put her away, and they are liable to an offering;
ואם אין ולד של קיימא יקיים
and if the offspring is not viable, he may keep her.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.