Safwan bin Mihraz reported,

It is reported that Jundab bin Abdullah al-Bajali sent for Asas bin Salamah during the time of the strife of Ibn Zubayr and said, "Gather for me a group of your brothers so that I may speak to them."So he sent a messenger to them. When they had assembled, Jundab came wearing a yellow hooded cloak and said, "Carry on with what you were discussing." When the conversation came around to him, he pulled the hood back from his head and said, "I have come to you intending to tell you something about your Prophet.The Messenger of Allah ﷺ dispatched a band of Muslims against a group of polytheists. The two sides met in battle. There was a man among the polytheists who, whenever he wished to single out one of the Muslims, would go straight for him and kill him. Then a man from the Muslims watched for a moment when he was off guard."Jundab said, "We were told that this man was Usama bin Zayd. When he raised the sword over him, the man said, 'There is no god but Allah,' but he killed him anyway.The messenger of good news came to the Prophet ﷺ, who questioned him, and he reported to him what had happened, including the account of this man and what he had done. So the Prophet ﷺ summoned him and asked him, 'Why did you kill him?'He replied, 'Messenger of Allah, he had inflicted heavy losses on the Muslims and had killed so-and-so and so-and-so,' and he named several men. 'I charged at him, and when he saw the sword he said, "There is no god but Allah."'The Messenger of Allah ﷺ said, 'You killed him?'He said, 'Yes.'The Prophet said, 'What will you do about "There is no god but Allah" when it comes on the Day of Resurrection?'He said, 'Messenger of Allah, ask forgiveness for me.'The Prophet said, 'And what will you do about "There is no god but Allah" when it comes on the Day of Resurrection?'He kept saying nothing more to him than, 'What will you do about "There is no god but Allah" when it comes on the Day of Resurrection?'"

Muslim 279

Sahih

حدثنا أحمد بن الحسن بن خراش حدثنا عمرو بن عاصم حدثنا معتمر قال سمعت أبي يحدث أن خالدا الأثبج ابن أخي صفوان بن محرز حدث

عن صفوان بن محرز

أنه حدث أن جندب بن عبد الله البجلي بعث إلى عسعس بن سلامة زمن فتنة ابن الزبير فقال اجمع لي نفرا من إخوانك حتى أحدثهم فبعث رسولا إليهم فلما اجتمعوا جاء جندب وعليه برنس أصفر فقال تحدثوا بما كنتم تحدثون به حتى دار الحديث فلما دار الحديث إليه حسر البرنس عن رأسه فقال إني أتيتكم ولا أريد أن أخبركم عن نبيكم إن رسول الله ﷺ بعث بعثا من المسلمين إلى قوم من المشركين وإنهم التقوا فكان رجل من المشركين إذا شاء أن يقصد إلى رجل من المسلمين قصد له فقتله وإن رجلا من المسلمين قصد غفلته قال وكنا نحدث أنه أسامة بن زيد فلما رفع عليه السيف قال لا إله إلا الله فقتله فجاء البشير إلى النبي ﷺ فسأله فأخبره حتى أخبره خبر الرجل كيف صنع فدعاه فسأله فقال لم قتلته قال يا رسول الله أوجع في المسلمين وقتل فلانا وفلانا وسمى له نفرا وإني حملت عليه فلما رأى السيف قال لا إله إلا الله قال رسول الله ﷺ أقتلته قال نعم قال فكيف تصنع بلا إله إلا الله إذا جاءت يوم القيامة قال يا رسول الله استغفر لي قال وكيف تصنع بلا إله إلا الله إذا جاءت يوم القيامة قال فجعل لا يزيده على أن يقول كيف تصنع بلا إله إلا الله إذا جاءت يوم القيامة

مسلم 279صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Faith
Chapter
Prohibition of killing a disbeliever after he says there is no god but Allah
Numbering
Darussalam 279
Muslim 279