Leviticus 25:28

But if he is not able to have it restored to himself, then what was sold shall remain in the hand of him who bought it until the Year of Jubilee; and in the Jubilee it shall be released, and he shall return to his possession.

Surrounding context

25:27 then let him count the years since its sale, and restore the remainder to the man to whom he sold it, that he may return to his possession.

25:28 But if he is not able to have it restored to himself, then what was sold shall remain in the hand of him who bought it until the Year of Jubilee; and in the Jubilee it shall be released, and he shall return to his possession.

25:29 "If a man sells a house in a walled city, then he may redeem it within a whole year after it is sold; within a full year he may redeem it.

Translation and sources