Sunan Ibn Majah, Book 5, Hadith 167 (Ibn Majah 969)

It was narrated from ‘Adi bin Thabit, from his father, from his grandfather, that the Prophet (ﷺ) said:

“Spitting, blowing one’s nose, menstruating and drowsiness during the prayer are from Satan.”