English : Vol. 1, Book 5, Hadith 1022
Grading supplied with this record: Sahih (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَا بَالُ أَحَدِكُمْ يَقُومُ مُسْتَقْبِلَهُ - يَعْنِي رَبَّهُ - فَيَتَنَخَّعُ أَمَامَهُ أَيُحِبُّ أَحَدُكُمْ أَنْ يُسْتَقْبَلَ فَيُتَنَخَّعَ فِي وَجْهِهِ إِذَا بَزَقَ أَحَدُكُمْ فَلْيَبْزُقَنَّ عَنْ شِمَالِهِ أَوْ لِيَقُلْ هَكَذَا فِي ثَوْبِهِ "
It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) saw some sputum in the direction of the Qiblah of the mosque. He turned to the people and said:
"What is wrong with one of you that he stands facing Him (meaning his Lord) and spits in front of Him? Would anyone like to be faced by someone who spits in his face? If anyone of you needs to spit, then let him spit to his left, or let him do like this in his garment."
Full reference and source
English : Vol. 1, Book 5, Hadith 1022 Arabic : Book 5, Hadith 1075
View source on Sunnah.com (opens in a new tab)