Exodus 22:3

But if he did this when the sun was risen, he has perpetrated a homicide, and he shall die. If he does not have the means to make restitution for the theft, he shall be sold

Other versions

King James Version

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.

English Standard Version

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

New International Version

but if it happens after sunrise, he is guilty of bloodshed. "A thief must certainly make restitution, but if he has nothing, he must be sold to pay for his theft.