Exodus 22:3

But if the sun has risen, there will be bloodguilt for him. The thief [if he lives] must make [full] restitution; if he has nothing, then he shall be sold [as a slave to make restitution] for his theft.

Exodus 21:2

“If you purchase a Hebrew servant [because of his debt or poverty], he shall serve six years, and in the seventh [year] he shall leave as a free man, paying nothing.

Judges 2:14

So the anger of the Lord burned against Israel, and He gave them into the hands (power) of plunderers who robbed them; and He sold them into the hands of their surrounding enemies, so that they could no longer stand [in opposition] before their enemies.

Judges 10:7

So the anger of the Lord was kindled against Israel, and He sold them into the hands of the Philistines and the Ammonites,

Isaiah 50:1

The Lord declares this;

“Where is the certificate of divorce
By which I have sent your mother away, [O Israel]?
Or to which one of My creditors did I sell you [as slaves]?
In fact, You were sold for your wickedness [your sin, your injustice, your wrongdoing],
And for your transgressions your mother was sent away.

Matthew 18:25

But because he could not repay, his master ordered him to be sold, with his wife and his children and everything that he possessed, and payment to be made.

Treasury of Scripture Knowledge

Summary

If the sun be risen upon him, there shall be blood shed for him; for he should make full restitution; if he have nothing, then he shall be sold for his theft.

Bible References

Then he shall

Exodus 21:2
“If you purchase a Hebrew servant [because of his debt or poverty], he shall serve six years, and in the seventh [year] he shall leave as a free man, paying nothing.
Judges 2:14
So the anger of the Lord burned against Israel, and He gave them into the hands (power) of plunderers who robbed them; and He sold them into the hands of their surrounding enemies, so that they could no longer stand [in opposition] before their enemies.
Judges 10:7
So the anger of the Lord was kindled against Israel, and He sold them into the hands of the Philistines and the Ammonites,
Isaiah 50:1
The Lord declares this;

“Where is the certificate of divorce
By which I have sent your mother away, [O Israel]?
Or to which one of My creditors did I sell you [as slaves]?
In fact, You were sold for your wickedness [your sin, your injustice, your wrongdoing],
And for your transgressions your mother was sent away.