Riyad Us-Saliheen (Gardens of the Righteous)
Chapter 309
Prohibition of Spitting in the Mosque
1693. Anas bin Malik (May Allah be pleased with him) said: The Messenger of Allah (PBUH) said, "Spitting in the mosque is a sin, and its expiation is that the spittle should be buried in earth.''
[Al-Bukhari and Muslim].
Commentary: To atone for spitting in the mosque, one should bury the spittle in earth, but this applies when the floor of the mosque is covered with earth; as this is not the case today, one should wipe the spittle off or wash it off with clean water.
1694. `Aishah (May Allah be pleased with her) said: The Messenger of Allah (PBUH) saw spittle or snot or sputum, sticking to the wall towards Qiblah and scratched it off.
[Al-Bukhari and Muslim].
Commentary: The narrator of this Hadith has expressed doubt about the exact nature of the filth, whether it was spittle, or phlegm or something else. Whatever it was, apparently it was dry. The Prophet (PBUH) scraped or rubbed it out and thus gave an important lesson of cleanliness to his Ummah.
1695. Anas (May Allah be pleased with him) said: The Messenger of Allah (PBUH) said, "It is not proper to use the mosque for urinating or easing oneself. They are merely built for the remembrance of Allah and the recitation of the Qur'an'', or as he stated.
[Muslim].
Commentary:
1. The Prophet (PBUH) said this on the urination of a bedouin in the mosque. He made him understand very politely and prudently that mosques are meant for worship, remembrance of Allah, recitation of the Qur'an and similar other acts of piety, and one should not do any thing that violates their sanctity.
2. The narrator has added the words "or as he stated''. It was a practice with the narrators of Ahadith to say these words by way of care to cover the risk of any change in the Hadith wording.