Sayyiduna Abu Hurairah and Abu Sa‘id Khudri (may Allah be pleased with them) narrate that the Messenger of Allah (peace be upon him) saw phlegm towards the direction of the Qiblah, so he scraped it off and cleaned it with a pebble. Then he said: "None of you should ever spit phlegm facing the Qiblah or to his right side, and he should spit to his left side or under his left foot (when necessary)."