The Prophet (ﷺ) said, "A faithful believer while in prayer is speaking in private to his Lord, so he should neither spit in front of him nor to his right side but he could spit either on his left or under his foot."
Reference: Sahih al-Bukhari 413 In-book : Book 8, Hadith 63 USC-MSA web (English) : Vol. 1, Book 8, Hadith 405 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.