(104) باب عَلَى مَا يُقَاتَلُ الْمُشْرِكُونَ
Usamah bin Zaid said "The Messenger of Allah (ﷺ) sent us with a detachment to Al Huruqat. They learnt about us and fled away. But we found a man, when we attacked him he uttered "There is no god but Allaah, still we struck him till we killed him." When I mentioned it to the Prophet (ﷺ) he said "Who will save you from "There is no god but Allaah" on the Day of Judgment? I said "Messenger of Allah (ﷺ), he uttered it for the fear of the weapon." He said "Did you tear his heart so that you learnt whether he actually uttered it for this or not. Who will support you against "There is no god but Allaah"? He kept on repeating this till I wished I would have embraced Islam on that day.
Reference: Sunan Abi Dawud 2643
In-book reference: Book 15, Hadith 167
English translation: Book 14, Hadith 2637