Leviticus 25
47 Ref And if a stranger or sojourner with thee be waxed rich, and thy brother be waxed poor beside him, and sell himself unto the stranger `or' sojourner with thee, or to the stock of the stranger's family;
48 Ref after that he is sold he may be redeemed: one of his brethren may redeem him;
49 Ref or his uncle, or his uncle's son, may redeem him, or any that is nigh of kin unto him of his family may redeem him; or if he be waxed rich, he may redeem himself.