It is narrated from Qahid al-Ghifari that: "I said to the Prophet (peace and blessings be upon him): If someone attacks me (what should I do)? He (peace and blessings be upon him) said: 'Warn him (of the grip of Allah).' He (peace and blessings be upon him) ordered him to admonish him two or three times, then said: 'If he does not desist, fight him; then if you are killed, you will be in Paradise, and if you kill him, he will be in the Fire.'" Imam Ahmad bin Hanbal also recorded something similar with his chain, in which it is mentioned that Qahid bin Mutarrif al-Ghifari said: "A questioner asked the Messenger of Allah (peace and blessings be upon him): What if someone attacks me? So he (peace and blessings be upon him) ordered him to forbid him three times. The questioner asked: And if he does not desist? So he (peace and blessings be upon him) ordered him to fight him (in self-defence). He said: Then what will become of us? He (peace and blessings be upon him) said: 'If he kills you, you will be in Paradise' (and he narrated the rest of the hadith in the same way)." Imam al-Bayhaqi also recorded this hadith in his Sunan through another route; further, Imam Muslim in his Sahih, Imam al-Nasa'i in al-Sunan al-Kubra, and Imam al-Hakim and al-Bayhaqi in his Sunan also recorded it through Qahid bin Mutarrif from the narration of Sayyiduna Abu Hurayrah (may Allah be pleased with him), who narrated it from the Prophet (peace and blessings be upon him).
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب قتال أهل البغي والخوارج والناكثين والرافضة والمارقين وغير ذلك / 3444
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ لضعف القاسم بن أبي شيبة، وجهالة حال الحكم بن المطلب
Hadith Takhrij«الحكم بن المطلب بن عبد الله بن حنطب: «لا يعرف حاله» (ابن حزم، المحلى 12/291)؛ القاسم بن محمد بن أبي شيبة: ضعيف (من الحفظ)؛ وتابعه عند أحمد يعقوب بن إبراهيم وأبو عامر العقدي فتبقى علة الحكم» «أخرجه مسند أحمد برقم: 15061»