Narrated Anas
The Prophet (ﷺ) said, "Whenever anyone of you offers his prayer he is speaking in private to his Lord. So he should not spit to his right but under his left foot." Qatada said, "He should not spit in front of him but to his left or under his feet." And Shu`ba said, "He should not spit in front of him, nor to his right but to his left or under his foot." Anas said: The Prophet (ﷺ) said, "He should neither spit in the direction of his Qibla nor to his right but to his left or under his foot."
Narrated Anas
The Prophet (ﷺ) said, "Do the prostration properly and do not put your forearms flat with elbows touching the ground like a dog. And if you want to spit, do not spit in front, nor to the right for the person in prayer is speaking in private to his Lord."