(13) باب النَّهْىِ عَنِ الْبُصَاقِ، فِي الْمَسْجِدِ فِي الصَّلاَةِ وَغَيْرِهَا
Abu Huraira and Abu Sa'id narrated that the Messenger of Allah (ﷺ) saw sputum, and the rest of the hadith is the same.
Reference: Sahih Muslim 548 b
In-book reference: Book 5, Hadith 64
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1119
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.