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.

Leviticus 26:35

26:35 All the days of the desolation it will have the rest it did not have on your Sabbaths when you lived on it.