Leviticus 25:48

ESV
then after he is sold he may be redeemed. One of his brothers may redeem him,