[Machine] The Prophet ﷺ was sitting among the people when a man approached him and asked for permission to accompany him. The Prophet allowed him, and they walked together. During their journey, the man killed a hypocrite. The Prophet ﷺ raised his voice and said, "Doesn't it testify that there is no god but Allah?" The man replied, "Yes, O Messenger of Allah, but there is no testimony for him." The Prophet said, "Doesn't it testify that I am the Messenger of Allah?" The man replied, "Yes, O Messenger of Allah, but there is no testimony for him." The Prophet asked, "Doesn't he pray?" The man replied, "Yes, but there is no prayer for him." The Prophet ﷺ said, "Those are the ones I have been forbidden from."
أَنَّ النَّبِيَّ ﷺ بَيْنَمَا هُوَ جَالِسٌ بَيْنَ ظَهْرَانَيِ النَّاسِ إِذْ جَاءَهُ رَجُلٌ يَسْتَأْذِنُهُ أَنْ يُسَارَّهُ فَسَارَّهُ فِي قَتْلِ رَجُلٍ مِنَ الْمُنَافِقِينَ فَجَهَرَ النَّبِيُّ ﷺ بِكَلَامِهِ وَقَالَ «أَلَيْسَ يَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ؟ » قَالَ بَلَى يَا رَسُولَ اللَّهِ وَلَا شَهَادَةَ لَهُ قَالَ «أَلَيْسَ يَشْهَدُ أَنِّي رَسُولُ اللَّهِ؟ » قَالَ بَلَى يَا رَسُولَ اللَّهِ وَلَا شَهَادَةَ لَهُ قَالَ «أَلَيْسَ يُصَلِّي؟ » قَالَ بَلَى وَلَا صَلَاةَ لَهُ فَقَالَ النَّبِيُّ ﷺ «أُولَئِكَ الَّذِينَ نُهِيتُ عَنْهُمْ»