The Lord said to Moses and Aaron: This is the ordinance for the passover: no foreigner shall eat of it, but any slave who has been purchased may eat of it after he has been circumcised; no bound or hired servant may eat of it. It shall be eaten in one house; you shall not take any of the animal outside the house, and you shall not break any of its bones. The whole congregation of Israel shall celebrate it. If an alien who resides with you wants to celebrate the passover to the Lord, all his males shall be circumcised; then he may draw near to celebrate it; he shall be regarded as a native of the land. But no uncircumcised person shall eat of it; there shall be one law for the native and for the alien who resides among you.
All the Israelites did just as the Lord had commanded Moses and Aaron. That very day the Lord brought the Israelites out of the land of Egypt, company by company.
The Lord said to Moses: Consecrate to me all the firstborn; whatever is the first to open the womb among the Israelites, of human beings and animals, is mine.