Exodus 22:3

3but if the sun has risen on him, there shall be bloodguilt for him. He shall surely pay. If he has nothing, then ahe shall be sold for his theft.

Leviticus 25:39

39 b“If your brother becomes poor beside you and sells himself to you, you shall not make him serve as a slave:

Deuteronomy 15:12

12 cIf your brother, a Hebrew man or a Hebrew woman, is sold
Or sells himself
to you, he shall serve you six years, and in the seventh year you shall let him go free from you.
Copyright information for ESV