حَدَّثَنَا عُبَيْدُ بْنُ غَنَّامٍ، ثنا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، ثنا زَيْدُ بْنُ الْحُبَابِ، ثنا الْحُسَيْنُ بْنُ وَاقِدٍ، عَنْ أَبِي غَالِبٍ، عَنْ أَبِي أُمَامَةَ قَالَ: قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: «الْبُزَاقُ فِي الْمَسْجِدِ سَيِّئَةٌ، وَدَفْنُهُ حَسَنَةٌ»
It is narrated from Sayyiduna Abu Umamah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Spitting in the mosque is a bad deed, and burying it is a good deed."