Leviticus 25
47 Ref "'If a stranger or sojourner with you becomes rich, and your brother beside him has grown poor, and sells himself to the stranger or foreigner living among you, or to a member of the stranger's family;
48 Ref after he is sold he may be redeemed. One of his brothers may redeem him;
49 Ref or his uncle, or his uncle's son, may redeem him, or any who is a close relative to him of his family may redeem him; or if he has grown rich, he may redeem himself.