Leviticus 25:39-55 - Release Of Slaves
39 If an Israelite becomes poor and sells himself to you, do not work him like a slave. 40 He will be like a hired worker or a visitor to you. He may work with you until the year of jubilee. 41 Then you will release him and his children to go back to their family and the property of their ancestors. 42 They are my servants. I brought them out of Egypt. They must never be sold as slaves. 43 Do not treat them harshly. Respect your God. 44 You may have male and female slaves, but buy them from the nations around you. 45 You may also buy the children of the foreigners who are living among you. Such children born in your land may become your property. 46 You may leave them as an inheritance to your children, whom they must serve as long as they live. But you must not treat any Israelites harshly.
47 Suppose a foreigner living with you becomes rich, while some Israelites become poor and sell themselves as slaves to that foreigner or to a member of that foreigner's family. 48 He has the right to be set free by a relative, such as a brother. 49 His uncle, his cousin, or some other relative could also buy him back. If he becomes rich, he could buy his own freedom. 50 Then he and his buyer must take into account the number of years from the year he was bought until the year of jubilee. His sale price will be adjusted based on the number of years he was with his buyer. This is like the wages of a hired worker. 51 If there are many years left, he must refund from his purchase price an amount equal to those years. 52 If there are only a few years left until the year of jubilee, he must take them into account. He must refund from his purchase price an amount equal to those years. 53 He should serve his buyer as a hired worker during those years. His buyer should not treat him harshly. 54 If he cannot buy his freedom he and his children will be released in the year of jubilee. 55 The Israelites belong to me! They are my servants. I brought them out of Egypt. I am Jehovah your God!'
12 If you buy Israelites (your own brothers) as slaves, you must set them free after six years. 13 Do not send him away empty handed when you set him free. 14 Supply him liberally from your flock and from your threshing floor and from your wine vat. Give to him as Jehovah your God has blessed you. 15 Remember that you were a slave in the land of Egypt, and Jehovah your God redeemed you. Therefore I command you this today! 16 If he says to you: I will not leave you. If it is because he loves you and your household, since he fares well with you, 17 then you shall take an awl and pierce it through his ear into the door. He will be your servant for a very long time. You should do likewise to your maidservant. 18 It should not seem hard to you when you set him free. After all he has given you six years with double the service of a hired man. Jehovah your God will bless you in whatever you do.