The Talmud
סנהדרין דף ע״הSanhedrin 75b
Amud b of Sanhedrin 75 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Sanhedrin 75b · סנהדרין ע״ה ב
אמר אביי הכי קאמר מנין לעשות שאר הבא ממנו כשאר הבא ממנה נאמר כאן זמה ונאמר להלן זמה וכו' והא בשאר דידיה לא כתיבא ביה זמה
Abaye said: this is what he says: from where do we know to make the kin that comes from him like the kin that comes from her? "Zimmah" is said here, and "zimmah" is said there, and so forth. But surely of his own kin "zimmah" is not written!
אמר רבא אמר לי רב יצחק בר אבודימי אתיא הנה הנה אתיא זמה זמה
Rava said: Rav Yitzchak bar Avudimi said to me: it is derived by "hennah", "hennah"; it is derived by "zimmah", "zimmah".
אמר מר מנין לעשות למטה כלמעלה מאי למטה כלמעלה אילימא בת בנה ובת בתה כבתה בהדי הדדי קאתיין
The Master said: "From where do we know to make below like above?" What is "below like above"? If you say her son's daughter and her daughter's daughter like her daughter — they come together!
אלא אם חמיו ואם חמותו כחמותו האי למטה כלמעלה למעלה כלמטה הואי תני למעלה כלמטה
Rather, his father-in-law's mother and his mother-in-law's mother like his mother-in-law. This "below like above" is "above like below"! Teach "above like below".
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.