Leviticus 25:46
46 You may even give them as an inheritance to your sons after you, to receive as a possession; you can use them as permanent slaves. But in respect to your brothers, the sons of Israel, you shall not have dominion over one another with brutality.