The Prophet said: "Whoever fights to protect his wealth and is killed, he is a martyr. Whoever fights to protect himself, he is a martyr. Whoever fights to protect his family is a martyr."
Sunan an-Nasa'i Book 37, Hadith 129