It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) saw phlegm on the qiblah wall of the mosque, so he (peace and blessings be upon him) took something and scraped it off, and said: "Let none of you ever spit toward his qiblah, for Allah, the Mighty and Majestic, is before him; rather, let him spit to his left or under his foot."
Imam al-Tabarani (may Allah have mercy on him) said: "Only Ghundar (may Allah have mercy on him) narrated these hadiths from Abdullah bin Sa'id (may Allah have mercy on him)."
Hadith Referenceالمعجم الأوسط / باب الألف / 1517
Hadith Takhrij«أخرجه البخاري فى «صحيحه» برقم: 406، 753، 1213، 6111، ومسلم فى «صحيحه» برقم: 547، ومالك فى «الموطأ» برقم: 663 / 209، وابن خزيمة فى «صحيحه» برقم: 923، 1295، والنسائي فى «المجتبى» برقم: 723 / 1، والنسائي فى «السنن الكبرى» برقم: 533، 805، وأبو داود فى «سننه» برقم: 479، والدارمي فى «مسنده» برقم: 1437، وابن ماجه فى «سننه» برقم: 763، والبيهقي فى «السنن الكبرى» برقم: 3659، 3660، 3661، 4379، وأحمد فى «مسنده» برقم: 4597، 4775، 4935، 4971، 5002، 5247، 5433، 5508، 5849، 6374، 6417، والطيالسي فى «مسنده» برقم: 1953، والبزار فى «مسنده» برقم: 5705، 5707، 5708، 5905، وعبد الرزاق فى «مصنفه» برقم: 1682، وابن أبي شيبة فى «مصنفه» برقم: 7539، 7540»