Leviticus 25:51

CAB(i) 51 And if any have a greater number of years remaining, according to these he shall pay his ransom out of his purchase money.