44 Regarding male or female slaves that you are allowed to have: You can buy a male or a female slave from the nations that are around you.
45 You can also buy them from the foreign guests who live with you and from their extended families that are with you, who were born in your land. These can belong to you as property.
46 You can pass them on to your children as inheritance that they can own as permanent property. You can make these people work as slaves, but you must not rule harshly over your own people, the Israelites.
47 If an immigrant or foreign guest prospers financially among you, but your fellow Israelite faces financial difficulty and so sells themselves to the immigrant or foreign guest, or to a descendant of a foreigner,
48 the Israelite will have the right to be bought back after they sold themselves. One of their relatives can buy them back:
49 their uncle or cousin can buy them back; one of their blood relatives from their family can buy them back; or they may be able to afford their own purchase.
50 The Israelite will calculate with their owner the time from the year they were sold until the Jubilee year. The price of their release will be based on the number of years they were with the owner, as in the case of a hired laborer.