Good Manners and Form (Al-Adab)
Bukhari :: Book 8 :: Volume 73 :: Hadith 132
Narrated 'Abdullah bin 'Umar:
While the Prophet was praying, he saw sputum (on the wall) of the mosque, in the direction of the Qibla, and so he scraped it off with his hand, and the sign of disgust (was apparent from his face) and then said, "Whenever anyone of you is in prayer, he should not spit in front of him (in prayer) because Allah is in front of him."