Exodus 22:2-3

22:2 “If a thief is caught breaking in and is struck so that he dies, there will be no blood guilt for him. 22:3 If the sun has risen on him, then there is blood guilt for him. A thief must surely make full restitution; if he has nothing, then he will be sold for his theft.