The Talmud
נדה דף מ״אNiddah 41a
Amud a of Niddah 41 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Niddah 41a · נדה מ״א א
אחר שריבה הכתוב ומיעט אמרת מרבה אני את אלו שהיה פסולן בקדש ומוציא אני את אלו שלא היה פסולן בקדש
After the verse has included and excluded, you say: I include these, whose disqualification arose in the holy place, and I exclude those, whose disqualification did not arise in the holy place.
קתני מיהת יוצא דופן דלא מאי לאו יוצא דופן דקדשים אמר רב הונא בריה דרב נתן לא יוצא דופן דבכור
At any rate it teaches "a yotzei dofen (one brought out through the wall of its mother's belly, and not through the womb)", that it is not included. What, is it not a yotzei dofen of consecrated animals? Rav Huna the son of Rav Natan said: no — a yotzei dofen of a firstborn.
בכור מפטר רחם נפקא
A firstborn — it is derived from "that opens the womb"!
אלא מאי דקדשים מאמו אמו נפקא
But then what — of consecrated animals? That is derived from "its mother", "its mother"!
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.