أَخْبَرَنَا مُحَمَّدُ بْنُ يَحْيَى، قَالَ: أَنَا يَزِيدُ بْنُ هَارُونَ، قَالَ: أَنَا حُمَيْدٌ، عَنْ أَنَسٍ، رَضِيَ اللَّهُ عَنْهُ أَنَّ رَسُولَ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ رَأَى نُخَامَةً فِي قِبْلَةِ الْمَسْجِدِ فَحَكَّهَا بِيَدِهِ فَرُئِيَ فِي وَجْهِهِ شِدَّةُ ذَلِكَ فَقَالَ: " إِنَّ الْعَبْدَ إِذَا قَامَ يُصَلِّي فَإِنَّمَا يُنَاجِي رَبَّهُ أَوْ رَبُّهُ فِيمَا بَيْنَهُ وَبَيْنَ الْقِبْلَةِ، فَإِذَا بَزَقَ أَحَدُكُمْ فَلْيَبْزُقْ عَنْ يَسَارِهِ أَوْ تَحْتَ قَدَمِهِ أَوْ يَقُولُ: هَكَذَا وَبَزَقَ فِي ثَوْبِهِ وَدَلَكَ بَعْضَهُ بِبَعْضٍ ".
Sayyiduna Anas (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) saw phlegm on the Qiblah wall of the mosque, so he scraped it off with his hand. Due to this, signs of intense anger were seen on his face. He said: When a servant stands for prayer, he whispers to his Lord, or he said: The Lord Almighty is between him and the Qiblah, therefore, when someone needs to spit, he should spit to his left or under his foot, or do like this—and he spat on his garment and rubbed it together.