46 You may leave them to your sons after you to inherit as property; you can make them slaves for life. But concerning your brothers, the Israelites, you must not rule over one another harshly.
47 “If a foreigner or temporary resident living among you prospers, but your brother living near him becomes destitute and sells himself to the foreigner living among you, or to a member of the foreigner’s clan,
48 he has the right of redemption after he has been sold. One of his brothers may redeem him.
49 His uncle or cousin may redeem him, or any of his close relatives from his clan may redeem him. If he prospers, he may redeem himself.
50 The one who purchased him is to calculate the time from the year he sold himself to him until the Year of Jubilee. The price of his sale will be determined by the number of years. It will be set for him like the daily wages of a hired hand.
51 If many years are still left, he must pay his redemption price in proportion to them based on his purchase price.
52 If only a few years remain until the Year of Jubilee, he will calculate and pay the price of his redemption in proportion to his remaining years.