Leviticus 25:37-47

37 You shall not lend him your money at interest, nor give him your food for profit.
38 I am the LORD your God, who brought you forth out of the land of Egypt to give you the land of Canaan, and to be your God.
39 "And if your brother becomes poor beside you, and sells himself to you, you shall not make him serve as a slave:
40 he shall be with you as a hired servant and as a sojourner. He shall serve with you until the year of the jubilee;
41 then he shall go out from you, he and his children with him, and go back to his own family, and return to the possession of his fathers.
42 For they are my servants, whom I brought forth out of the land of Egypt; they shall not be sold as slaves.
43 You shall not rule over him with harshness, but shall fear your God.
44 As for your male and female slaves whom you may have: you may buy male and female slaves from among the nations that are round about you.
45 You may also buy from among the strangers who sojourn with you and their families that are with you, who have been born in your land; and they may be your property.
46 You may bequeath them to your sons after you, to inherit as a possession for ever; you may make slaves of them, but over your brethren the people of Israel you shall not rule, one over another, with harshness.
47 "If a stranger or sojourner with you becomes rich, and your brother beside him becomes poor and sells himself to the stranger or sojourner with you, or to a member of the stranger's family,
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.