Exodus 22:2 WEB

2 If the thief is found breaking in, and is struck so that he dies, there shall be no guilt of bloodshed for him.