Leviticus 25:50

Thomson(i) 50 In which case he shall settle with him who purchased him, from the year he sold himself, to the year of the release, and the price of his purchase shall be as the yearly wages of a hired servant for the years he is to be with him.