The Prophet ﷺ said, "Spitting, nasal mucus, menstruation, and drowsiness during prayer are from Satan."
حدثنا أبو بكر بن أبي شيبة حدثنا الفضل بن دكين عن شريك عن أبي اليقظان
عن النبي ﷺ قال البزاق والمخاط والحيض والنعاس في الصلاة من الشيطان
No references are available.
[Its chain of transmission is very daif] Reported by Tirmidhi, in the Book of Manners, chapter titled "What has been said about sneezing during prayer being from Satan," hadith no. 2748, from the hadith of Sharik, in this manner. See also hadith no. 156 for its defect, and it contains another defect as well.