The Talmud
סנהדרין דף נ״דSanhedrin 54b
Amud b of Sanhedrin 54 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Sanhedrin 54b · סנהדרין נ״ד ב
עונש שמענו אזהרה מניין ת"ל (ויקרא יח, כב) ואת זכר לא תשכב משכבי אשה תועבה היא
Punishment we have heard; a warning — from where? The verse states "you shall not lie with mankind, as with womankind; it is abomination" (Leviticus 18:22).
למדנו אזהרה לשוכב אזהרה לנשכב מניין ת"ל (דברים כג, יח) לא יהיה קדש מבני ישראל ואומר (מלכים א יד, כד) וגם קדש היה בארץ עשו ככל התועבות הגוים אשר הוריש וגו' דברי רבי ישמעאל
We have learnt a warning for the one who lies; a warning for the one who is lain with — from where? The verse states "neither shall there be a sodomite of the sons of Israel" (Deuteronomy 23:18), and it says "and there were also sodomites in the land; they did according to all the abominations of the nations which He drove out", and so forth (I Kings 14:24). These are the words of Rabbi Yishmael.
רבי עקיבא אומר אינו צריך הרי הוא אומר ואת זכר לא תשכב משכבי אשה קרי ביה לא תשכב
Rabbi Akiva says: it is not needed. Behold it says "you shall not lie with mankind, as with womankind" — read into it "you shall not be lain with".
בהמה מנא לן דתנו רבנן (ויקרא כ, טו) איש פרט לקטן אשר יתן שכבתו בבהמה בין גדולה בין קטנה
A beast — from where do we know it? For the Rabbis taught: "a man" (Leviticus 20:15) — to exclude a minor; "that lies with a beast" — whether great or small.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.