Exodus 22:2-3

VIN(i) 2 If the thief is found breaking in, and is struck so that he dies, there shall be no guilt of bloodshed for him. 3 If the sun has risen on him, he is guilty of bloodshed. He shall make restitution. If he has nothing, then he shall be sold for his theft.