Sunan an-Nasa'i #728
The Book of the Masjids 8:41
It was narrated that Anas bin Malik said:
"The Messenger of Allah (ﷺ) saw some sputum in the Qiblah of the Masjid, and he became so angry that his face turned red. Then a woman from the Ansar went and scratched off, and put some perfume in its place. The Messenger of Allah (ﷺ) said: 'How good this is.'"