The Talmud
זבחים דף י״חZevachim 18a
Amud a of Zevachim 18 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Zevachim 18a · זבחים י״ח א
תלמוד לומר (ויקרא י, ט) חוקה (שמות כט, ט) חוקה לגזירה שוה
The verse states "statute" (Leviticus 10:9), "statute" (Exodus 29:9) — for a gezerah shavah (a verbal analogy, the linking of two verses by a word common to both).
אי מהתם הוה אמינא הני מילי עבודה דזר חייב עליה מיתה אבל עבודה דאין זר חייב עליה מיתה אימא לא קמ"ל
If from there, I should have said that this applies to a service for which a non-priest is liable to death; but a service for which a non-priest is not liable to death, say: no. So he teaches us otherwise.
אשכחן מחוסר בגדים שתויי יין מנלן אתיא חוקה חוקה ממחוסר בגדים
We have found one who lacks garments; those who have drunk wine — from where do we know it? It is derived from "statute", "statute", from one who lacks garments.
והא תנא ולהבדיל בין וגו' קא נסיב לה מקמי דליקום גזירה שוה
But surely the tanna takes up "and that you may put difference between", and so forth, before the gezerah shavah stands!
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.