Leviticus 25:47-49

Leeser(i) 47 And if a stranger or sojourner wax rich near thee, and thy brother become poor near him, and he sell himself unto the sojourning stranger near thee, or to a descendant of a stranger’s family: 48 After he hath sold himself shall he have the right of redemption; one of his brethren may redeem him. 49 Either his uncle, or his uncle’s son, may redeem him, or any that is near of kin unto him of his family may redeem him; or if he obtain the means, he may redeem himself.