Exodus 12:43-51 - Institution Of The Passover
43 Yahweh said to Moses and Aaron, "This is the ordinance of the Passover. No foreigner shall eat of it, 44 but every man's servant who is bought for money, when you have circumcised him, then shall he eat of it. 45 A foreigner and a hired servant shall not eat of it. 46 In one house shall it be eaten; you shall not carry forth anything of the flesh abroad out of the house; neither shall you break a bone of it. 47 All the congregation of Israel shall keep it. 48 When a stranger shall live as a foreigner with you, and will keep the Passover to Yahweh, let all his males be circumcised, and then let him come near and keep it; and he shall be as one who is born in the land: but no uncircumcised person shall eat of it. 49 One law shall be to him who is born at home, and to the stranger who lives as a foreigner among you."
50 All the children of Israel did so. As Yahweh commanded Moses and Aaron, so they did. 51 It happened the same day, that Yahweh brought the children of Israel out of the land of Egypt by their armies.