What may not be done during Prayer and what is permitted - Section 2 Mishkat al-Masabih 999
Arabic hadith text
وَعَنْ عَدِيِّ بْنِ ثَابِتٍ عَنْ أَبِيهِ عَنْ جَدِّهِ رَفَعَهُ قَالَ: «الْعُطَاسُ وَالنُّعَاسُ وَالتَّثَاؤُبُ فِي الصَّلَاةِ وَالْحَيْضُ وَالْقَيْءُ وَالرُّعَافُ مِنَ الشَّيْطَانِ» . رَوَاهُ التِّرْمِذِيّ
Translation
‘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.