Leviticus 25:50 (KJV)
And he shall reckonwith him that boughthim from the yearthat he was soldto him unto the yearof jubileand the priceof his saleshall be according unto the numberof yearsaccording to the timeof an hired servantshall it be with him