حَدَّثَنَا مُحَمَّدُ بْنُ قَضَاءٍ الْجَوْهَرِيُّ الْبَصْرِيُّ، ثنا مُحَمَّدُ بْنُ عَلِيِّ بْنِ الْحَسَنِ بْنِ شَقِيقٍ، قَالَ: سَمِعْتُ أَبِي، أنا الْحُسَيْنُ بْنُ وَاقِدٍ، عَنْ أَبِي غَالِبٍ، عَنْ أَبِي أُمَامَةَ، أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَنْ تَنَخَّعَ فِي الْمَسْجِدِ فَلَمْ يَدْفِنْهُ فَسَيِّئَةٌ، وَإِنْ دَفَنَهُ حَسَنَةٌ»
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: "Whoever clears phlegm in the mosque and does not bury it, it is a bad deed; and if he buries it, it is a good deed."