عَنْ طَارِقِ بْنِ عَبْدِ اللَّهِ رَضِيَ اللَّهُ عَنْهُ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ أَنَّهُ قَالَ: ((إِذَا صَلَّيْتَ فَلَا تَبْصُقْ بَيْنَ يَدَيْكَ وَلَا عَنْ يَمِينِكَ، وَلَكِنِ ابْصُقْ تِلْقَاءَ شِمَالِكَ إِنْ كَانَ فَارِغًا، وَإِلَّا فَتَحْتَ قَدَمَيْكَ وَادْلُكْهُ))
Sayyiduna Tariq bin Abdullah narrates that the Noble Prophet (peace and blessings be upon him) said: When you pray, do not spit in front of you or to your right side; rather, spit to your left side, provided it is empty (i.e., there is no worshipper praying on that side). Otherwise, lift your foot and (spit beneath it and) rub it in.