عن أنس - رضي الله عنه: أنَّ رسولَ اللهِ - صلى الله عليه وسلم - قال: «البُصاقُ في المَسْجِدِ خَطِيئَةٌ، وَكَفَّارَتُهَا دَفْنُهَا». متفق عليه. والمرادُ بِدَفْنِهَا إذَا كَانَ المَسْجِدُ تُرَابًا أوْ رَمْلًا ونَحْوَهُ، فَيُوَارِيهَا تَحْتَ تُرَابِهِ.
قالَ أبُو المحاسِنِ الرُّويَانِي مِنْ أصحابِنا في كِتَابِهِ «البحر» وقِيلَ: المُرَادُ بِدَفْنِهَا إخْراجُهَا مِنَ المَسْجِدِ، أمَّا إِذَا كَانَ المَسْجِدُ مُبَلَّطًا أَوْ مُجَصَّصًا، فَدَلَكَهَا عَلَيْهِ بِمَدَاسِهِ أَوْ بِغَيْرِهِ كَمَا يَفْعَلُهُ كَثيرٌ مِنَ الجُهَّالِ، فَلَيْسَ ذَلِكَ بِدَفْنٍ، بَلْ زِيَادَةٌ فِي الخَطِيئَةِ وَتَكْثِيرٌ لِلقَذَرِ في المَسْجِدِ، وَعَلَى مَنْ فَعَلَ ذَلِكَ أَنْ يَمْسَحَهُ بَعْدَ ذَلِكَ بِثَوْبِهِ أَوْ بِيَدِهِ أَوْ غَيرِهِ أَوْ يَغْسِلَهُ.
It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Spitting in the mosque is a sin, and its expiation is to bury it."
(Agreed upon)
What is meant by burying it is that when (the floor of) the mosque is of earth, sand or the like, he should cover it beneath its earth.
Abu al-Mahasin al-Ruyani, one of our (Shafi'i) companions, said in his book "al-Bahr": And it has been said that what is meant by burying it is removing it from the mosque. As for the case where the floor of the mosque is paved (with bricks or stones) or plastered with lime, and he rubs it on it with his shoe or the like, as many ignorant people do, then this is not burying; rather, it is an increase in the sin and a spreading of filth in the mosque. Whoever does that must wipe it afterwards with his garment, his hand or the like, or wash it.
وعن عائشة رضي الله عنها: أنَّ رسولَ اللهِ - صلى الله عليه وسلم - رَأَى في جِدَارِ القِبْلَةِ مُخَاطًا، أَوْ بُزَاقًا، أَوْ نُخَامَةً، فَحَكَّهُ. متفق عَلَيْهِ.
It is narrated from Sayyidah Aishah (may Allah be pleased with her) that the Messenger of Allah (peace and blessings be upon him) saw nasal mucus, or spittle, or phlegm on the wall of the qiblah, and he scraped it off.
(Agreed upon)
وعن أنس - رضي الله عنه: أنَّ رسولَ اللهِ - صلى الله عليه وسلم - قَالَ: «إنَّ هذِهِ المَسَاجِدَ لاَ تَصْلُحُ لِشَيءٍ مِنْ هَذَا البَوْلِ وَلاَ القَذَرِ، إنَّمَا هِيَ لِذِكْرِ اللهِ تَعَالَى، وَقِرَاءَةِ القُرْآنِ» أَوْ كَمَا قَالَ رسُولُ اللهِ - صلى الله عليه وسلم. رواه مسلم.
It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "These mosques are not fit for anything of this urine or filth; they are only for the remembrance of Allah Almighty and the recitation of the Qur'an," or as the Messenger of Allah (peace and blessings be upon him) said.
(Narrated by Muslim)