It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "Whoever is killed while protecting his family is a martyr, whoever is killed defending his neighbour is a martyr, and everyone who is killed in the path of Allah is a martyr." The wording of another chain of this hadith is that the Messenger of Allah (peace and blessings be upon him) said: "Whoever is killed unjustly while defending his property is a martyr, whoever is killed protecting his life is a martyr, whoever is killed protecting his family is a martyr, whoever is killed defending his neighbour is a martyr, and whoever is killed for the sake of Allah's pleasure is a martyr." From the technical standpoint, this hadith of Sayyiduna Ibn Abbas (may Allah be pleased with them both) revolves around Juwaybir bin Sa'id al-Balkhi, and he is a weak narrator, declared da'if (weak) by Imam Ibn al-Madini, Imam Ahmad, Ibn Ma'in, al-Nasa'i, Ali bin al-Junayd, al-Daraqutni, Ibn Adi, Abu Ahmad al-Hakim, al-Hakim Abu Abdullah, Imam al-Dhahabi and others.
Hadith Takhrij«قلت: مدار حديث ابن عباس هذا على جويبر بن سعيد البلخي وهو ضعيف، ضعفه ابن المديني وأحمد وابن معين والنسائي وعلي بن الجنيد والدارقطني وابن عدي وأبو أحمد الحاكم والحاكم أبو عبد الله والذهبي وغيرهم»