Abu Jubayra bin Dahhak reported,

I said, "Messenger of Allah, what is your view about a man who struck me with his sword and cut off my hand, then took shelter from me behind a tree and said, 'There is no god but Allah'? Should I kill him?"He said, "No."I repeated the question two or three times, and he said, "No, unless you wish to be like him before he said what he said, and for him to be like you before you did what you did."

Ahmad 23811

Sahih

حدثنا إسماعيل بن إبراهيم عن عبد الرحمن بن إسحاق عن الزهري عن عطاء بن يزيد عن عبيد الله بن عدي بن الخيار

عن المقداد بن عمرو قال

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

أحمد 23811صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Miqdad bin Aswad
Numbering
Darussalam 23811
Ahmad 23811