The Talmud
זבחים דף ל״זZevachim 37b
Amud b of Zevachim 37 — the second side of the page
English rendering prepared for The Gematria — not a historical translation.
Zevachim 37b · זבחים ל״ז ב
לימד על בכור בעל מום שניתן לכהן שלא מצינו לו בכל התורה כולה
— it taught concerning a blemished firstborn, that it is given to the priest, a thing which we have not found for it anywhere in the whole Torah.
ורבי ישמעאל נפקא ליה מלך יהיה דסיפא
And Rabbi Yishmael derives it from "it shall be yours" of the latter clause.
בשלמא לר' יוסי הגלילי דמוקי ליה נמי במעשר ופסח היינו דכתיב (במדבר יח, יז) לא תפדה (כי) קדש הם הם קריבין ואין תמורתן קריבה
Granted according to Rabbi Yose the Galilean, who establishes it also of a tithe and a Passover offering — this is why it is written "you shall not redeem; they are holy" (Numbers 18:17): they are offered, and their temurah (the substitute, where a man exchanges a consecrated animal for another and the second becomes holy as well) is not offered.
דתנן תמורת בכור ומעשר הן וולדן וולד ולדן עד סוף כל העולם הרי הן כבכור ומעשר ויאכלו במומן לבעלים
For we learnt: the temurah of a firstborn and of the animal tithe — they, and their offspring, and their offspring's offspring, to the end of all the world — behold, they are as a firstborn and as the animal tithe, and they are eaten in their blemish by their owners.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.