Exodus 22:2
2
If the thief is found breaking in, and is struck so that he dies, there will be no bloodguiltiness for him.