عَنْ أَبِي ذَرٍّ رَضِيَ اللَّهُ عَنْهُ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَالَ: ((عُرِضَتْ عَلَيَّ أُمَّتِي بِأَعْمَالِهَا حَسَنَةٍ وَسَيِّئَةٍ، فَرَأَيْتُ فِي مَحَاسِنِ أَعْمَالِهَا إِمَاطَةَ الْأَذَى عَنِ الطَّرِيقِ، وَرَأَيْتُ فِي سَيِّئِ أَعْمَالِهَا النُّخَاعَةَ فِي الْمَسْجِدِ لَا تُدْفَنُ))
Sayyiduna Abu Sahla Sa’ib bin Khallad رضي الله عنه narrates that a man was leading the people in prayer while the Messenger of Allah صلى الله عليه وآله وسلم was watching him. During the prayer, he spat in the direction of the qiblah. When he finished, the Messenger of Allah صلى الله عليه وآله وسلم said: This person should not lead you in prayer again. Later, when he intended to lead the prayer, the people stopped him and informed him of the statement of the Messenger of Allah صلى الله عليه وآله وسلم. He mentioned this to the Messenger of Allah صلى الله عليه وآله وسلم, and he صلى الله عليه وآله وسلم said to him: Yes, (I forbade you) because you have offended Allah Almighty.