(12) CHAPTER. What is said about blowing and spitting while in As-Salat (the prayer).
Narrated Ibn `Umar: The Prophet saw some sputum on the wall facing the Qibla of the mosque and became furious with the people of the mosque and said, During the prayer, Allah is in front of everyone of you and so he should not spit (or said, 'He should not expectorate'). Then he got down and scratched the sputum with his hand. Ibn `Umar said (after narrating), If anyone of you has to spit during the prayer, he should spit to his left.
Narrated Anas: The Prophet said, Whenever anyone of you is in prayer, he is speaking in private to his Lord and so he should neither spit in front of him nor on his right side but to his left side under his left foot.