The Talmud
יבמות דף מ״טYevamot 49b
Amud b of Yevamot 49 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Yevamot 49b · יבמות מ״ט ב
ועל הסוטה שאין הולד ממזר
— or upon a sotah (a wife suspected of unfaithfulness), that the offspring is not a mamzer.
נדה דהא תפסי בה קידושין שנאמר (ויקרא טו, כד) ותהי נדתה עליו אפי' בשעת נדתה תפסי בה קידושין
A niddah — because betrothal takes hold of her, as it is said "and her impurity be upon him" (Leviticus 15:24): even at the time of her impurity betrothal takes hold of her.
סוטה נמי דהא תפסי בה קידושין
A sotah too — because betrothal takes hold of her.
תניא נמי הכי הכל מודים בבא על הנדה ועל הסוטה ועל שומרת יבם שאין הולד ממזר
It was also taught so: all agree concerning one who comes upon a niddah, or upon a sotah, or upon a woman who watches for her yavam, that the offspring is not a mamzer.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.