The Talmud
תמורה דף כ״הTemurah 25a
Amud a of Temurah 25 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Temurah 25a · תמורה כ״ה א
אמאי אין קדושה חלה עליהן קסבר רשב"ג ולדות קדשים בהוייתן הן קדושין דאי ס"ד ממעי אמן הן קדושין אמאי אין קדושה חלה עליהן הא תפסתינהו קדושה דאימייהו אלא ש"מ ולדי קדשים בהוייתן הן קדושים
Why does no sanctity take hold upon them? Rabban Shimon ben Gamliel holds that the offspring of consecrated animals are holy upon their coming into being; for if it should enter your mind that they are holy from their mother's belly, why does no sanctity take hold upon them? Surely the sanctity of their mother has taken hold of them! Rather, learn from this: the offspring of consecrated animals are holy upon their coming into being.
והאי תנא סבר ולדי קדשים ממעי אמן הן קדושים דת"ר אילו (לא) נאמר בכור לא יקדיש הייתי אומר בכור לא יקדיש הקדישות ת"ל (ויקרא כז, כו) איש אותו אותו אי אתה מקדיש אבל מקדיש אדם בכור הקדישות
And this tanna holds that the offspring of consecrated animals are holy from their mother's belly; for the Rabbis taught: had it said "he shall not consecrate a firstborn", I would have said: he shall not consecrate a firstborn of consecrated animals. The verse therefore says "no man shall consecrate it" (Leviticus 27:26) — it you may not consecrate, but a man may consecrate the firstborn of consecrated animals.
ועדיין אני אומר הוא לא יקדיש אבל יקדישוהו אחרים ת"ל בבהמה בבהמה עסקתי
And still I would say: he may not consecrate it, but others may consecrate it; the verse therefore says "among beasts" — with beasts have I dealt.
יכול לא יקדישנו בבטן ת"ל (ויקרא כז, כו) אשר יבוכר לה' משיבוכר לה' אי אתה מקדיש אבל אתה מקדיש בבטן
One might think that he may not consecrate it in the belly; the verse therefore says "which is born as a firstling to the Lord" (Leviticus 27:26) — from when it is born as a firstling to the Lord you may not consecrate it, but you may consecrate it in the belly.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.