The Prophet scratched some spittle from the prayer direction of the mosque.
Sunan Ibn Majah Book 4, Hadith 30