Exodus
Exodus 13:11-16
God commands that every firstborn donkey shall be redeemed with a lamb, and every firstborn son shall be redeemed. The passage connects this obligation to the Exodus and the slaying of Egypt's firstborn, giving the theological reason for the commandment.
וְכׇל־פֶּ֤טֶר חֲמֹר֙ תִּפְדֶּ֣ה בְשֶׂ֔ה וְאִם־לֹ֥א תִפְדֶּ֖ה וַעֲרַפְתּ֑וֹ וְכֹ֨ל בְּכ֥וֹר אָדָ֛ם בְּבָנֶ֖יךָ תִּפְדֶּֽה׃ וְהָיָ֞ה כִּֽי־יִשְׁאָלְךָ֥ בִנְךָ֛ מָחָ֖ר לֵאמֹ֣ר מַה־זֹּ֑את וְאָמַרְתָּ֣ אֵלָ֔יו בְּחֹ֣זֶק יָ֗ד הוֹצִיאָ֧נוּ יְהֹוָ֛ה מִמִּצְרַ֖יִם מִבֵּ֥ית עֲבָדִֽים׃ וַיְהִ֗י כִּֽי־הִקְשָׁ֣ה פַרְעֹה֮ לְשַׁלְּחֵ֒נוּ֒ וַיַּהֲרֹ֨ג יְהֹוָ֤ה כׇּל־בְּכוֹר֙ בְּאֶ֣רֶץ מִצְרַ֔יִם מִבְּכֹ֥ר אָדָ֖ם וְעַד־בְּכ֣וֹר בְּהֵמָ֑ה עַל־כֵּן֩ אֲנִ֨י זֹבֵ֜חַ לַֽיהֹוָ֗ה כׇּל־פֶּ֤טֶר רֶ֙חֶם֙ הַזְּכָרִ֔ים וְכׇל־בְּכ֥וֹר בָּנַ֖י אֶפְדֶּֽה׃
But every firstling donkey you shall redeem with a sheep; if you do not redeem it, you must break its neck. And you must redeem every male first-born among your children. And when, in time to come, a child of yours asks you, saying, ‘What does this mean?’ you shall reply, ‘It was with a mighty hand that GOD brought us out from Egypt, the house of bondage. When Pharaoh stubbornly refused to let us go, GOD slew every [male] first-born in the land of Egypt, the first-born of both human and animal. Therefore I sacrifice to GOD every first male issue of the womb, but redeem every male first-born among my children.’