Exodus 13:12-13

12 ayou shall set apart to the Lord all that first opens the womb. All the firstborn of your animals that are males shall be the Lord’s. 13 bEvery firstborn of a donkey you shall redeem with a lamb, or if you will not redeem it you shall break its neck. Every cfirstborn of man among your sons you shall redeem.
Copyright information for ESV