Exodus 22:2

Thomson(i) 2 If a thief be found in the act of breaking in and be struck and die, he who struck him is not liable to death;