Anas bin Malik reported,

The Prophet ﷺ saw some phlegm on the qiblah wall of the mosque and became so angry that his face turned red. A woman from the Ansar came, scraped it off, and applied perfume in its place. The Messenger of Allah ﷺ said, "How excellent is this!"

Ibn Majah 762

Daif

حدثنا محمد بن طريف حدثنا عائذ بن حبيب عن حميد

عن أنس

أن النبي ﷺ رأى نخامة في قبلة المسجد فغضب حتى احمر وجهه فجاءته امرأة من الأنصار فحكتها وجعلت مكانها خلوقا فقال رسول الله ﷺ ما أحسن هذا

ابن ماجه 762ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Mosques and congregations
Chapter
Disliking phlegm in the masjid
Numbering
Darussalam 762
Ibn Majah 762