Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tabarani:9453Muḥammad b. al-Naḍr al-Azdī > Muʿāwiyah b. ʿAmr > Zāʾidah > Yazīd b. Abū Ziyād > Abū Ẓibyān > ʿAbdullāh b. Masʿūd

[Machine] Yawning and sneezing in the prayer are from Satan.  

الطبراني:٩٤٥٣حَدَّثَنَا مُحَمَّدُ بْنُ النَّضْرِ الْأَزْدِيُّ ثنا مُعَاوِيَةُ بْنُ عَمْرٍو ثنا زَائِدَةُ عَنْ يَزِيدَ بْنِ أَبِي زِيَادٍ عَنْ أَبِي ظِبْيَانِ عَنْ عَبْدِ اللهِ بْنِ مَسْعُودٍ قَالَ

«التَّثَاؤُبُ وَالْعُطَاسُ فِي الصَّلَاةِ مِنَ الشَّيْطَانِ»  


See similar narrations below:

Collected by Ṭabarānī, Suyūṭī
tabarani:19257[Chain 1] Fuḍayl b. Muḥammad al-Malṭī > Abū Nuʿaym [Chain 2] Zakariyyā b. Yaḥyá > Sharīk > Abū al-Yaqẓān > ʿAdī b. Thābit from his father from his grandfather Yarfaʿ al-Ḥadīth

[Machine] Sneezing, bleeding, drowsiness, nosebleed, menstruation, vomiting, and yawning in prayer are from Satan.  

الطبراني:١٩٢٥٧حَدَّثَنَا فُضَيْلُ بْنُ مُحَمَّدٍ الْمَلْطِيُّ ثنا أَبُو نُعَيْمٍ ح وحَدَّثَنَا مَحْمُودُ بْنُ مُحَمَّدٍ الْوَاسِطِيُّ ثنا زَكَرِيَّا بْنُ يَحْيَى قَالَا ثنا شَرِيكٌ عَنْ أَبِي الْيَقْظَانِ عَنْ عَدِيِّ بْنِ ثَابِتٍ عَنْ أَبِيهِ عَنْ جَدِّهِ يَرْفَعُ الْحَدِيثَ قَالَ

«الْعُطَاسُ وَالنِّفَاسُ وَالنُّعَاسُ وَالرُّعَافُ وَالْحَيْضُ وَالْقَيْءُ وَالتَّثَاؤُبُ فِي الصَّلَاةِ مِنَ الشَّيْطَانِ»