Anas bin Malik reported,

From the Prophet ﷺ. My father said, and Dahhak, meaning Ibn Makhlad, also narrated to me, saying, Shuba informed us, from Qatada, from Anas, from the Prophet ﷺ. My father also narrated to me, saying, Muhammad bin Yazid al-Wasiti narrated to us, from Hisham al-Dastawai and Shuba together, from Qatada, from Anas bin Malik, from the Prophet ﷺ, who said, "Spitting." Yazid and Dahhak bin Makhlad said in their version, "Phlegm in the mosque is a sin, and its expiation is to bury it."

Ahmad 13948

Sahih

حدثنا يزيد بن هارون أخبرنا شعبة عن قتادة

عن أنس

عن النبي ﷺ قال أبي و حدثني الضحاك يعني ابن مخلد قال أخبرنا شعبة عن قتادة عن أنس عن النبي ﷺ و حدثني أبي حدثنا محمد بن يزيد الواسطي عن هشام الدستوائي وشعبة جميعا عن قتادة عن أنس بن مالك عن النبي ﷺ قال البزاق وقال يزيد والضحاك بن مخلد في حديثهما النخاعة في المسجد خطيئة وكفارتها دفنها

أحمد 13948صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 13948
Ahmad 13948