Deuteronomy 15:7-15:23
If, however, there is a needy person among you, one of your kinsmen in any of your settlements in the land that the Lord your God is giving you, do not harden your heart and shut your hand against your needy kinsman. Rather, you must open your hand and lend him sufficient for whatever he needs. Beware lest you harbor the base thought, "The seventh year, the year of remission, is approaching," so that you are mean to your needy kinsman and give him nothing. He will cry out to the Lord against you, and you will incur guilt. Give to him readily and have no regrets when you do so, for in return the Lord your God will bless you in all your efforts and in all your undertakings. For there will never cease to be needy ones in your land, which is why I command you: open your hand to the poor and needy kinsman in your land. If a fellow Hebrew, man or woman, is sold to you, he shall serve you six years, and in the seventh year you shall set him free. When you set him free, do not let him go empty-handed: Furnish him out of the flock, threshing floor, and vat, with which the Lord your God has blessed you. Bear in mind that you were slaves in the land of Egypt and the Lord your God redeemed you; therefore I enjoin this commandment upon you today.
But should he say to you, "I do not want to leave you"--for he loves you and your household and is happy with you--you shall take an awl and put it through his ear into the door, and he shall become your slave in perpetuity. Do the same with your female slave. When you do set him free, do not feel aggrieved; for in the six years he has given you double the service of a hired man. Moreover, the Lord your God will bless you in all you do.
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.