אִם־בַּמַּחְתֶּ֛רֶת יִמָּצֵ֥א הַגַּנָּ֖ב וְהֻכָּ֣ה וָמֵ֑ת אֵ֥ין ל֖וֹ דָּמִֽים׃
If a thief be found breaking in, and be smitten so that he dieth, there shall be no bloodguiltiness for him.
Read midrashic interpretation of Exodus 22:1: and classical rabbinic exegesis.