The Talmud
סנהדרין דף נ״דSanhedrin 54a
Amud a of Sanhedrin 54 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Sanhedrin 54a · סנהדרין נ״ד א
תניא כוותיה דרבא (ויקרא כ, יא) איש פרט לקטן
It was taught in accordance with Rava: "a man" (Leviticus 20:11) — to exclude a minor.
(ויקרא כ, יא) אשר ישכב את אשת אביו משמע בין אשת אביו שהיא אמו ובין אשת אביו שלא אמו אמו שאינה אשת אביו מניין ת"ל (ויקרא כ, יא) ערות אביו גלה מופנה להקיש ולדון ממנו גזרה שוה
"That lies with his father's wife" (Leviticus 20:11) — this implies both his father's wife who is his mother and his father's wife who is not his mother. His mother who is not his father's wife — from where? The verse states "he has uncovered his father's nakedness" (Leviticus 20:11). It is free, to liken and to derive from it a gezerah shavah (a verbal analogy, the linking of two verses by a word common to both).
מות יומתו בסקילה אתה אומר בסקילה או אינו אלא באחת מכל מיתות האמורות בתורה נאמר כאן דמיהם בם ונאמר באוב וידעוני דמיהם בם מה להלן בסקילה אף כאן בסקילה
"They shall surely be put to death" — by stoning. You say by stoning; or is it only by one of all the deaths stated in the Torah? It is said here "their blood shall be upon them", and it is said of the ov and the yidoni — the one who consults the dead and the one who divines by a familiar spirit — "their blood shall be upon them": just as there it is by stoning, so here it is by stoning.
עונש שמענו אזהרה מניין ת"ל (ויקרא יח, ז) ערות אביך לא תגלה ערות אביך זו אשת אביך
Punishment we have heard; a warning — from where? The verse states "the nakedness of your father you shall not uncover" (Leviticus 18:7): "the nakedness of your father" — this is your father's wife.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.