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.”