Narrated Usama bin Zaid: Allah’s Messenger, peace be upon him, sent us towards Al-Huraqa, and in the morning we attacked them and defeated them. I saw an Ansari man followed a man from among them and when we took him over, he said, “La ilaha ill-Allah.” On hearing that, Ansari man stopped, but I killed him by stabbing him with my spear.
When we returned, the Prophet, peace be upon him, came to know about that and he said, “O Usama! Did you kill him after he had said ‘La ilaha ill-Allah’’?” I said, “But he said so only to save himself.” The Prophet, peace be upon him, kept on repeating that so often that I wished I had not embraced Islam before that day.
(5: 568- O.B. Sahih Al-Bukhari)