Mishkat
al-Masabih
مشكاة المصابيح
Prayer
كتاب الصلاة
Chapter 20a: What may not be done during Prayer and what is permitted - Section 1
بَابُ مَا لَا يَجُوزُ مِنَ الْعَمَلِ فِي الصَّلَاةِ وَمَا يُبَاحُ مِنْهُ - الفصل الأول
Mishkat al-Masabih 985, 986
Abu Sa'id reported Allah's Messenger ﷺ as saying, “When one of you yawns during prayer he must restrain it as much as possible, for the devil gets in.” Muslim transmitted it. In a version by Bukhari from Abu Huraira he said, “When one of you yawns during prayer he must restrain it as much as possible and not say ‘Ha’, for that comes from the devil who is laughing at him.”(Or “at it”, i.e. at this action).
وَعَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا تَثَاءَبَ أَحَدُكُمْ فَلْيَكْظِمْ مَا اسْتَطَاعَ فَإِنَّ الشَّيْطَانَ يَدْخُلُ» . رَوَاهُ مُسلم وَفِي رِوَايَةِ الْبُخَارِيِّ عَنْ أَبِي هُرَيْرَةَ قَالَ: " إِذَا تَثَاءَبَ أَحَدُكُمْ فِي الصَّلَاةِ فَلْيَكْظِمْ مَا اسْتَطَاعَ وَلَا يَقُلْ: هَا فَإِنَّمَا ذَلِكُمْ مِنَ الشَّيْطَان يضْحك مِنْهُ "
In-book reference: Mishkat al-Masabih Book 4 Chapter 20a Hadith 1