Leviticus 25:47

If the hand of a newcomer or a sojourner will have grown strong among you, and your brother, having become impoverished, will have sold himself to him, or to any of his stock

Other versions

King James Version

And if a sojourner or stranger wax rich by thee, and thy brother that dwelleth by him wax poor, and sell himself unto the stranger or sojourner by thee, or to the stock of the stranger's family:

English Standard Version

"If a stranger or sojourner with you becomes rich, and your brother beside him becomes poor and sells himself to the stranger or sojourner with you or to a member of the stranger's clan,

New International Version

"'If an alien or a temporary resident among you becomes rich and one of your countrymen becomes poor and sells himself to the alien living among you or to a member of the alien's clan,