Sunan an-Nasa'i, Book 37, Hadith 129 (Nasa'i 4104)

It was narrated from Sa'eed bin Zaid that:

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