(33) باب حَكِّ الْبُزَاقِ بِالْيَدِ مِنَ الْمَسْجِدِ
Narrated `Abdullah bin `Umar:
Allah's Messenger (ﷺ) saw sputum on the wall of the mosque in the direction of the Qibla and scraped it off. He faced the people and said, "Whenever any one of you is praying, he should not spit in front of him because in the prayer Allah is in front of him."
Reference: Sahih al-Bukhari 406
In-book reference: Book 8, Hadith 58
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 8, Hadith 400