Leviticus 25:46

Amplified Bible (AMP)
You may even bequeath them as an inheritance to your children after you, to receive as a possession; you can use them as permanent slaves. But in respect to your fellow countrymen, the children of Israel, you shall not rule over one another with harshness (severity, oppression).

Of Redeeming a Poor Man

Read Leviticus 25:46 in other translations