Leviticus 25:52

BSB
“If only a few years remain until the Year of Jubilee, he is to calculate and pay his redemption according to his remaining years.”