عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ رَأَى نُخَامَةً فِي قِبْلَةِ الْمَسْجِدِ فَقَامَ فَحَكَّهَا أَوْ قَالَ فَحَتَّهَا بِيَدِهِ ثُمَّ أَقْبَلَ عَلَى النَّاسِ فَتَغَيَّظَ عَلَيْهِمْ وَقَالَ: ((إِنَّ اللَّهَ عَزَّ وَجَلَّ قِبَلَ وَجْهِ أَحَدِكُمْ فِي صَلَاتِهِ فَلَا يَتَنَخَّمَنَّ أَحَدٌ مِنْكُمْ قِبَلَ وَجْهِهِ فِي صَلَاتِهِ))
It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) saw phlegm in the direction of the qiblah in the mosque. So he (peace and blessings be upon him) stood up and scraped it off with his own hand. Then he turned towards the people, expressed anger at them, and said: Indeed, Allah Almighty is before your face in prayer, so no person should spit in front of his face during prayer.