Leviticus 25:27

New International Reader's Version Bible (NIRV)
Then they must decide how much the crops have become worth since the time they sold the land. They must take that amount off the price the land was sold for. They must give the one selling it back to them the money that is left. Then they can go back to their own property.

Read Leviticus 25:27 in other translations