Leviticus 25:47-55 - Redeeming A Poor Man

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!'