בכורות א:ד · Bekhorot 1:4

אַחַת בִּכְּרָה וְאַחַת שֶׁלֹּא בִכְּרָה וְיָלְדוּ שְׁנֵי זְכָרִים, נוֹתֵן טָלֶה אֶחָד לַכֹּהֵן. זָכָר וּנְקֵבָה, מַפְרִישׁ טָלֶה אֶחָד לְעַצְמוֹ, שֶׁנֶּאֱמַר (שמות לד), וּפֶטֶר חֲמוֹר תִּפְדֶּה בְשֶׂה, מִן הַכְּבָשִׂים וּמִן הָעִזִּים, זָכָר וּנְקֵבָה, גָּדוֹל וְקָטָן, תָּמִים וּבַעַל מוּם. וּפוֹדֶה בוֹ פְּעָמִים הַרְבֵּה. נִכְנָס לַדִּיר לְהִתְעַשֵּׂר. וְאִם מֵת, נֶהֱנִים בּוֹ:
If one of his donkeys had previously given birth and one had not previously given birth and they now together gave birth to two males, the owner gives one lamb to the priest as redemption for the firstborn male. If they together gave birth to a male and a female he designates one lamb for himself, as it is uncertain whether or not the male was a firstborn and the burden of proof rests upon the claimant. From where is it derived that the firstborn of a donkey is redeemed with a lamb? It is derived from a verse, as it is stated: “And you shall redeem the firstborn of a donkey with a lamb [ seh ]” (Exodus 34:20). The owner may give a lamb either from sheep or from goats; from males or females, from older or younger animals, and from unblemished or blemished animals. If the priest returns the lamb to the owner, he may redeem firstborn donkeys with it many times. In a case where he designates a lamb due to uncertainty and keeps it for himself, it is his in every sense. Consequently, it enters the pen in order to be tithed with the other non-sacred animals (see Leviticus 27:32), and if it dies, one may derive benefit from its carcass.

Word-by-word Breakdown (מילים ושרשים)

אַחַת → one [א - ח - ד]בִּכְּרָה → had given birth [ב - כ - ר]וְאַחַת → and one [א - ח - ד]שֶׁלֹּא → that not בִכְּרָה → had given birth [ב - כ - ר]וְיָלְדוּ → and they gave birth [י - ל - ד]שְׁנֵי → two [ש - נ - ה]זְכָרִים → males [ז - כ - ר]נוֹתֵן → he gives [נ - ת - ן]טָלֶה → lamb [ט - ל - ה]אֶחָד → one [א - ח - ד]לַכֹּהֵן → to the priest [כ - ה - ן]זָכָר → a male [ז - כ - ר]וּנְקֵבָה → and a female [נ - ק - ב]מַפְרִישׁ → he designates [פ - ר - ש]טָלֶה → lamb [ט - ל - ה]אֶחָד → one [א - ח - ד]לְעַצְמוֹ → for himself [ע - צ - ם]שֶׁנֶּאֱמַר → as it is stated [א - מ - ר]שמות → Exodus [ש - מ - ה]לד → 34 וּפֶטֶר → And the firstborn of [פ - ט - ר]חֲמוֹר → donkey [ח - מ - ר]תִּפְדֶּה → you shall redeem [פ - ד - ה]בְשֶׂה → with a lamb [ש - ה]מִן → from הַכְּבָשִׂים → the sheep [כ - ב - ש]וּמִן → and from הָעִזִּים → the goats [ע - ז - ז]זָכָר → male [ז - כ - ר]וּנְקֵבָה → and female [נ - ק - ב]גָּדוֹל → older [ג - ד - ל]וְקָטָן → and younger [ק - ט - ן]תָּמִים → unblemished [ת - מ - ם]וּבַעַל → and blemished [ב - ע - ל / מ - ו - ם]