Exodus 12:29-51 ESV
At midnight the LORD struck down all the firstborn in the land of Egypt, from the firstborn of Pharaoh who sat on his throne to the firstborn of the captive who was in the dungeon, and all the firstborn of the livestock. And Pharaoh rose up in the night, he and all his servants and all the Egyptians. And there was a great cry in Egypt, for there was not a house where someone was not dead. Then he summoned Moses and Aaron by night and said, “Up, go out from among my people, both you and the people of Israel; and go, serve the LORD, as you have said. Take your flocks and your herds, as you have said, and be gone, and bless me also!”
The Egyptians were urgent with the people to send them out of the land in haste. For they said, “We shall all be dead.” So the people took their dough before it was leavened, their kneading bowls being bound up in their cloaks on their shoulders. The people of Israel had also done as Moses told them, for they had asked the Egyptians for silver and gold jewelry and for clothing. And the LORD had given the people favor in the sight of the Egyptians, so that they let them have what they asked. Thus they plundered the Egyptians.
And the people of Israel journeyed from Rameses to Succoth, about six hundred thousand men on foot, besides women and children. A mixed multitude also went up with them, and very much livestock, both flocks and herds. And they baked unleavened cakes of the dough that they had brought out of Egypt, for it was not leavened, because they were thrust out of Egypt and could not wait, nor had they prepared any provisions for themselves.
The time that the people of Israel lived in Egypt was 430 years. At the end of 430 years, on that very day, all the hosts of the LORD went out from the land of Egypt. It was a night of watching by the LORD, to bring them out of the land of Egypt; so this same night is a night of watching kept to the LORD by all the people of Israel throughout their generations.
And the LORD said to Moses and Aaron, “This is the statute of the Passover: no foreigner shall eat of it, but every slave that is bought for money may eat of it after you have circumcised him. No foreigner or hired worker may eat of it. It shall be eaten in one house; you shall not take any of the flesh outside the house, and you shall not break any of its bones. All the congregation of Israel shall keep it. If a stranger shall sojourn with you and would keep the Passover to the LORD, let all his males be circumcised. Then he may come near and keep it; he shall be 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 stranger who sojourns among you.”
All the people of Israel did just as the LORD commanded Moses and Aaron. And on that very day the LORD brought the people of Israel out of the land of Egypt by their hosts.
ESV: English Standard Version 2016