Leviticus 25:51–52 in Hebrew and English

51 אִם־ע֥וֹד רַבּ֖וֹת בַּשָּׁנִ֑ים לְפִיהֶן֙ יָשִׁ֣יב גְּאֻלָּת֔וֹ מִכֶּ֖סֶף מִקְנָתֽוֹ׃

52 וְאִם־מְעַ֞ט נִשְׁאַ֧ר בַּשָּׁנִ֛ים עַד־שְׁנַ֥ת הַיֹּבֵ֖ל וְחִשַּׁב־ל֑וֹ כְּפִ֣י שָׁנָ֔יו יָשִׁ֖יב אֶת־גְּאֻלָּתֽוֹ׃

Berean Standard Bible:

51 If many years remain, he must pay for his redemption in proportion to his purchase price.

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