Sunan an-Nasa'i, Book 37, Hadith 128 (Nasa'i 4103)

It was narrated that Abu Ja'far said:

"The Messenger of Allah said: 'Whoever is killed defending his wealth and is killed unjustly, he is a martyr.'"