40The time that the Israelites had lived in Egypt was four hundred thirty years. 41At the end of four hundred thirty years, on that very day, all the companies of the LORD went out from the land of Egypt. 42That was for the LORD a night of vigil, to bring them out of the land of Egypt. That same night is a vigil to be kept for the LORD by all the Israelites throughout their generations.
43The LORD said to Moses and Aaron: This is the ordinance for the passover: no foreigner shall eat of it, 44but any slave who has been purchased may eat of it after he has been circumcised; 45no bound or hired servant may eat of it. 46It 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. 47The whole congregation of Israel shall celebrate it. 48If 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; 49there shall be one law for the native and for the alien who resides among you.
50All the Israelites did just as the LORD had commanded Moses and Aaron. 51That very day the LORD brought the Israelites out of the land of Egypt, company by company.