Ayesha reported,

The Prophet ﷺ saw some spittle, mucus, or phlegm on the qiblah wall, so he scraped it off.

Muslim 1227

Sahih

و حدثنا قتيبة بن سعيد عن مالك بن أنس فيما قرئ عليه عن هشام بن عروة عن أبيه

عن عائشة

أن النبي ﷺ رأى بصاقا في جدار القبلة أو مخاطا أو نخامة فحكه

مسلم 1227صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Mosques and places of prayer
Chapter
Prohibition of spitting in the masjid during prayer and otherwise
Numbering
Darussalam 1227
Muslim 1227