Exodus 13:2

2 aConsecrate to me all the firstborn. Whatever is the first to open the womb among the people of Israel, both of man and of beast, is mine.”

Exodus 13:12-15

12 byou 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 cEvery firstborn of a donkey you shall redeem with a lamb, or if you will not redeem it you shall break its neck. Every dfirstborn of man among your sons you shall redeem. 14 eAnd when in time to come your son asks you, ‘What does this mean?’ you shall say to him, f‘By a strong hand the Lord brought us out of Egypt, from the house of gslavery. 15For when Pharaoh stubbornly refused to let us go, the hLord killed all the firstborn in the land of Egypt, both the firstborn of man and the firstborn of animals. Therefore I sacrifice to the Lord all the males that first open the womb, but iall the firstborn of my sons I redeem.’

Numbers 3:13

13for jall the firstborn are mine. kOn the day that I struck down all the firstborn in the land of Egypt, I consecrated for my own all the firstborn in Israel, both of man and of beast. They shall be mine: I am the Lord.”

Luke 2:23

23(as it is written in lthe Law of the Lord, mEvery male who first opens the womb shall be called holy to the Lord”)
Copyright information for ESV