[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.
وفي رواية: فقال رسول الله صلى الله عليه وسلم "أقال : لا إله إلا الله وقتلته؟! قلت: يا رسول الله، إنما قالها خوفاً من السلاح، قال: "أفلا شققت عن قلبه حتى تعلم أقالها أم لا؟!" فما زال يكررها حتى تمنيت أني أسلمت يومئذ.
Reference | : Riyad as-Salihin 393 |
In-book reference | : Introduction, Hadith 393 |