“The Prophet (ﷺ) said: ‘When you perform prayer, do not spit in front of you or to your right, but spit to your left or beneath your feet.’”
Sunan Ibn Majah Book 5, Hadith 219