Miqdad bin Aswad reported,

He reported that he said, "Messenger of Allah, what do you think if I meet a man from the disbelievers and he fights me, then he strikes one of my hands with the sword and cuts it off, and then he takes refuge from me behind a tree and says, 'I have submitted to Allah,' should I kill him, Messenger of Allah, after he has said that?"The Messenger of Allah ﷺ said, "Do not kill him."I said, "Messenger of Allah, but he cut off my hand and only said that after he had cut it off. Should I kill him?"The Messenger of Allah ﷺ said, "Do not kill him. If you kill him, he is in the position you were in before you killed him, and you are in the position he was in before he uttered the words he spoke."

Muslim 274

Sahih

حدثنا قتيبة بن سعيد حدثنا ليث ح و حدثنا محمد بن رمح واللفظ متقارب أخبرنا الليث عن ابن شهاب عن عطاء بن يزيد الليثي عن عبيد الله بن عدي بن الخيار

عن المقداد بن الأسود

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

مسلم 274صحيح
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 274
Muslim 274