It was narrated from Ibn `Umar that the Messenger of Allah (ﷺ) said:
"If a man's property is targeted, and he is fought and fights back and is killed, he is a martyr." (ID)
English reference (ID): Vol. 3, Book 20, Hadith 2581 (ID)
Arabic reference (ID): Book 20, Hadith 2679 (ID)