Exodus 12:40-51
12:40 Now the length of time the Israelites lived in Egypt was 430 years.
12:41 At the end of the 430 years, on the very day, all the regiments of the Lord went out of the land of Egypt.
12:42 It was a night of vigil for the Lord to bring them out from the land of Egypt, and so on this night all Israel is to keep the vigil to the Lord for generations to come.
Participation in the Passover
12:43 The Lord said to Moses and Aaron, “This is the ordinance of the Passover. No foreigner may share in eating it.
12:44 But everyone’s servant who is bought for money, after you have circumcised him, may eat it.
12:45 A foreigner and a hired worker must not eat it.
12:46 It must be eaten in one house; you must not bring any of the meat outside the house, and you must not break a bone of it.
12:47 The whole community of Israel must observe it.
12:48 “When a foreigner lives with you and wants to observe the Passover to the Lord, all his males must be circumcised, and then he may approach and observe it, and he will be like one who is born in the land – but no uncircumcised person may eat of it.
12:49 The same law will apply to the person who is native-born and to the foreigner who lives among you.”
12:50 So all the Israelites did exactly as the Lord commanded Moses and Aaron.
12:51 And on this very day the Lord brought the Israelites out of the land of Egypt by their regiments.