Leviticus 25:28

Amplified Bible (AMP)
But if [c]he is unable to redeem it, then what he has sold shall remain in the hands of the purchaser until the Year of Jubilee; but at the Jubilee it shall revert, and he may return to his property.

Read Leviticus 25:28 in other translations