Sunan Abi Dawud 474
سنن أبي داود#474Sahihحَدَّثَنَا مُسْلِمُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا هِشَامٌ، وَشُعْبَةُ، وَأَبَانُ، عَنْ قَتَادَةَ، عَنْ أَنَسِ بْنِ مَالِكٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ " التَّفْلُ فِي الْمَسْجِدِ خَطِيئَةٌ وَكَفَّارَتُهُ أَنْ تُوَارِيَهُ " .
Anas b. Malik reported the Prophet(ﷺ) as saying:Spitting in the mosque is a sin and it is expiated by burying the spittle
Scholarly Authentication
The label above is the grade most of these scholars gave — one dissenting opinion no longer speaks for all of them. If any scholar calls a narration fabricated, that verdict is shown instead, whatever the others say. Each scholar's own wording:
Al-AlbaniSahih
Muhammad Muhyi Al-Din Abdul HamidSahih
Shuaib Al ArnautSahih
Zubair Ali ZaiIsnaad Sahih Sahih Bukhari (415) Sahih Muslim (552)
In-book reference: 2:84