The Talmud
יבמות דף צ״דYevamot 94a
Amud a of Yevamot 94 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Yevamot 94a · יבמות צ״ד א
דסניא ליה אמר להו רב ששת תניתוה אמרו לה מת בעליך ואח"כ מת בנך ונשאת ואח"כ אמרו לה חילוף היו הדברים תצא והולד ראשון ואחרון ממזר
— for she hates him. Rav Sheshet said to them: you have learnt it: if they said to her "your husband died, and afterwards your son died", and she married, and afterwards they said to her "the matters were the reverse" — she goes out, and the first offspring and the last is a mamzer (one born of a union the Torah forbids).
היכי דמי אילימא תרי ותרי מאי חזית דסמכת אהני סמוך אהני ועוד ממזר ספק ממזר הוא וכ"ת לא דק הא מדקתני סיפא הראשון ממזר והאחרון אינו ממזר ש"מ דדוקא קתני
What are the circumstances? If you say two against two — what did you see that you rely on these? Rely on those! And further, the mamzer is a doubtful mamzer! And should you say he was not exact — but since the latter clause teaches "the first is a mamzer and the last is not a mamzer", learn from this that it teaches exactly.
אלא לאו חד וטעמא דאתו בי תרי אכחשוה הא לאו הכי מהימן לעולם תרי ותרי וכדאמר רב אחא בר מניומי בעדי הזמה
Rather, is it not one witness, and the reason is that two came and contradicted him; but if not so, he is trusted? Actually, it is two against two, and as Rav Acha bar Minyomi said: with conspiring witnesses.
הכא נמי בעדי הזמה
Here too, with conspiring witnesses.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.