Mishkat al-Masabih
‘Adi b. Thabit quoted his father as saying that his grandfather traced the following back to the Prophet, “Sneezing, drowsing and yawning during prayer, also menstruation, vomiting and nose bleeding come from the devil.” Tirmidhi transmitted it.
وَعَنْ عَدِيِّ بْنِ ثَابِتٍ عَنْ أَبِيهِ عَنْ جَدِّهِ رَفَعَهُ قَالَ: «الْعُطَاسُ وَالنُّعَاسُ وَالتَّثَاؤُبُ فِي الصَّلَاةِ وَالْحَيْضُ وَالْقَيْءُ وَالرُّعَافُ مِنَ الشَّيْطَانِ» . رَوَاهُ التِّرْمِذِيّ
Reference