Mishkat al-Masabih #934
Prayer
The Arabic includes the chain of narration (sanad) and the collector's commentary; the English translation shows the Prophet's words only.
وَعَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «التَّثَاؤُبُ فِي الصَّلَاةِ مِنَ الشَّيْطَانِ فَإِذَا تَثَاءَبَ أَحَدُكُمْ فَلْيَكْظِمْ مَا اسْتَطَاعَ» . رَوَاهُ التِّرْمِذِيّ وَفِي أُخْرَى لَهُ وَلِابْنِ مَاجَهْ: «فَلْيَضَعْ يَدَهُ على فِيهِ»
Abu Huraira reported God’s Messenger as saying, “Yawning during prayer comes from the devil, so when one of you yawns he must restrain it as much as possible.”
Tirmidhi transmitted it. In another version by him and by Ibn Majah it says, “He should put his hand over his mouth.”
Topics
About Mishkat al-Masabih
This hadith is #934 from Mishkat al-Masabih, in the Book of Prayer.