Leviticus 25:27

25:27 he is to calculate the value of the years it was sold, refund the balance to the man to whom he had sold it, and return to his property.