Deuteronomy 15:10-20

10 You shall give to him freely, and your heart shall not be grudging when you give to him; because for this the LORD your God will bless you in all your work and in all that you undertake.
11 For the poor will never cease out of the land; therefore I command you, You shall open wide your hand to your brother, to the needy and to the poor, in the land.
12 "If your brother, a Hebrew man, or a Hebrew woman, is sold to you, he shall serve you six years, and in the seventh year you shall let him go free from you.
13 And when you let him go free from you, you shall not let him go empty-handed;
14 you shall furnish him liberally out of your flock, out of your threshing floor, and out of your wine press; as the LORD your God has blessed you, you shall give to him.
15 You shall remember that you were a slave in the land of Egypt, and the LORD your God redeemed you; therefore I command you this today.
16 But if he says to you, 'I will not go out from you,' because he loves you and your household, since he fares well with you,
17 then you shall take an awl, and thrust it through his ear into the door, and he shall be your bondman for ever. And to your bondwoman you shall do likewise.
18 It shall not seem hard to you, when you let him go free from you; for at half the cost of a hired servant he has served you six years. So the LORD your God will bless you in all that you do.
19 "All the firstling males that are born of your herd and flock you shall consecrate to the LORD your God; you shall do no work with the firstling of your herd, nor shear the firstling of your flock.
20 You shall eat it, you and your household, before the LORD your God year by year at the place which the LORD will choose.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.