Leviticus 25:27

25:27 he is to calculate the value of the years it was sold, refund the balance to the man to whom he had sold it, and return to his property.

Leviticus 25:29

Release of Houses

25:29 “‘If a man sells a residential house in a walled city, its right of redemption must extend until one full year from its sale; its right of redemption must extend to a full calendar year.

Leviticus 25:50

25:50 He must calculate with the one who bought him the number of years from the year he sold himself to him until the jubilee year, and the cost of his sale must correspond to the number of years, according to the rate of wages a hired worker would have earned while with him.

Leviticus 25:28

25:28 If he has not prospered enough to refund a balance to him, then what he sold will belong to the one who bought it until the jubilee year, but it must revert in the jubilee and the original owner may return to his property.