← Sahih al-Bukhari
Sahih al-Bukhari · Hadith #1177 · Actions while Praying

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."