Deuteronomy 15:19-16:17
You shall consecrate to the Lord your God all male firstlings that are born in your herd and in your flock: you must not work your firstling ox or shear your firstling sheep. You and your household shall eat it annually before the Lord your God in the place that the Lord will choose. But if it has a defect, lameness or blindness, any serious defect, you shall not sacrifice it to the Lord your God. Eat it in your settlements, the unclean among you no less than the clean, just like the gazelle and the deer. Only you must not partake of its blood; you shall pour it out on the ground like water.
Observe the month of Abib and offer a passover sacrifice to the Lord your God, for it was in the month of Abib, at night, that the Lord your God freed you from Egypt. You shall slaughter the passover sacrifice for the Lord your God, from the flock and the herd, in the place where the Lord will choose to establish His name. You shall not eat anything leavened with it; for seven days thereafter you shall eat unleavened bread, bread of distress--for you departed from the land of Egypt hurriedly--so that you may remember the day of your departure from the land of Egypt as long as you live. For seven days no leaven shall be found with you in all your territory, and none of the flesh of what you slaughter on the evening of the first day shall be left until morning.
You are not permitted to slaughter the passover sacrifice in any of the settlements that the Lord your God is giving you; but at the place where the Lord your God will choose to establish His name, there alone shall you slaughter the passover sacrifice, in the evening, at sundown, the time of day when you departed from Egypt. You shall cook and eat it at the place that the Lord your God will choose; and in the morning you may start back on your journey home. After eating unleavened bread six days, you shall hold a solemn gathering for the Lord your God on the seventh day: you shall do no work.
You shall count off seven weeks; start to count the seven weeks when the sickle is first put to the standing grain. Then you shall observe the Feast of Weeks for the Lord your God, offering your freewill contribution according as the Lord your God has blessed you. You shall rejoice before the Lord your God with your son and daughter, your male and female slave, the Levite in your communities, and the stranger, the fatherless, and the widow in your midst, at the place where the Lord your God will choose to establish His name. Bear in mind that you were slaves in Egypt, and take care to obey these laws.
After the ingathering from your threshing floor and your vat, you shall hold the Feast of Booths for seven days. You shall rejoice in your festival, with your son and daughter, your male and female slave, the Levite, the stranger, the fatherless, and the widow in your communities. You shall hold a festival for the Lord your God seven days, in the place that the Lord will choose; for the Lord your God will bless all your crops and all your undertakings, and you shall have nothing but joy.
Three times a year--on the Feast of Unleavened Bread, on the Feast of Weeks, and on the Feast of Booths--all your males shall appear before the Lord your God in the place that He will choose. They shall not appear before the Lord empty-handed, but each with his own gift, according to the blessing that the Lord your God has bestowed upon you.