Leviticus 25:32
25:32 As for the cities of the Levites, the houses in the cities which they possess, the Levites must have a perpetual right of redemption.
Leviticus 25:51-52
25:51 If there are still many years, in keeping with them he must refund most of the cost of his purchase for his redemption,
25:52 but if only a few years remain until the jubilee, he must calculate for himself in keeping with the remaining years and refund it for his redemption.