Leviticus 25:45
45 And also you may acquire from the sons of the foreign residents who sojourn among you, from them and their families who are with you; as for those whom they have begotten in your land, they also may become your possession.
Leviticus 25:47
Redemption from a Sojourner
47 ‘Now if the means of a sojourner or of a foreign resident with you becomes sufficient, and a brother of yours becomes so poor with regard to him as to sell himself to a sojourner who resides with you or to the descendants of a sojourner’s family,