Leviticus 25:46

and, by the right of inheritance, you shall transmit them to your posterity, and you shall possess them forever. But do not oppress your brothers, the sons of Israel, by power

Other versions

King James Version

And ye shall take them as an inheritance for your children after you, to inherit them for a possession; they shall be your bondmen for ever: but over your brethren the children of Israel, ye shall not rule one over another with rigour.

English Standard Version

You may bequeath them to your sons after you to inherit as a possession forever. You may make slaves of them, but over your brothers the people of Israel you shall not rule, one over another ruthlessly.

New International Version

You can will them to your children as inherited property and can make them slaves for life, but you must not rule over your fellow Israelites ruthlessly.