Riyad as-Salihin 393
Usamah bin Zaid (May Allah be pleased with them) reported:
Messenger of Allah (ﷺ) sent us to Huraqat, a tribe of Juhainah. We attacked that tribe early in the morning and defeated them, (then) a man from the Ansar and I caught hold of a man (of the defeated tribe). When we overcame him, he said: 'La ilaha illallah (There is no true god except Allah).' At that moment, the Ansari spared him, but I attacked him with my spear and killed him. By the time we went back to Al-Madinah, news had already reached Messenger of Allah (ﷺ). He said to me, "O Usamah, did you kill him after he professed La ilaha illallah (There is no true god except Allah)?" I said, "O Messenger of Allah! He professed it only to save his life." Messenger of Allah (ﷺ) repeated, "Did you kill him after he had professed La ilaha illallah?" He went on repeating this to me until I wished I had not embraced Islam before that day (so that I would have not committed this sin). [Al-Bukhari and Muslim] . Another narration is: Messenger of Allah (ﷺ) said, "Did you kill him in spite of his professing La ilaha illallah?" I said, "O Messenger of Allah! He said out of fear of our arms." He (ﷺ) said, "Why did you not cut his heart open to find out whether he had done so sincerely or not?" He continued repeating it until I wished that I had embraced Islam only that day.
وعن أسامة بن زيد، رضي الله عنهما، قال‏:‏ بعثنا رسول الله صلى الله عليه وسلم، إلى الحرقة من جهينة ، فصبحنا القوم على مياههم، ولحقت أنا ورجل من الأنصار رجلاً منهم، فلما غشيناه قال‏:‏ لا إله إلا الله ، فكف عنه الأنصاري، وطعنته برمحي حتى قتلته، فلما قدمنا المدينة بلغ ذلك النبي، صلى الله عليه وسلم، فقال لى‏:‏ ‏"‏ يا أسامة أقتلته بعد ما قال لا إله إلا الله‏؟‏‏!‏ قلت يا رسول الله إنما كان متعوذا فقال ” أقتلته بعد ما قال لا إله إلا الله‏؟‏‏!‏‏"‏ فما زال يكررها على حتى تمنيت أني لم أكن أسلمت قبل ذلك اليوم‏.‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏ ‏.‏ 
وفي رواية‏:‏ فقال رسول الله صلى الله عليه وسلم ‏"‏أقال ‏:‏ لا إله إلا الله وقتلته‏؟‏‏!‏ قلت‏:‏ يا رسول الله، إنما قالها خوفاً من السلاح، قال‏:‏ ‏"‏أفلا شققت عن قلبه حتى تعلم أقالها أم لا‏؟‏‏!‏‏"‏ فما زال يكررها حتى تمنيت أني أسلمت يومئذ‏.‏