وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ، أَنَّ النبى من قَالَ: النَّتَاؤُبُ فِي الصَّلَاةِ مِنَ الشَّيْطَانِ فَإِذَا نَشَاءَ بَ أَحَدُكُمْ فَلْيَكْظِمُ مَا اسْتَطَاعَ
It is narrated from Abu Hurairah (may Allah be pleased with him) that the Prophet ﷺ said: “Yawning in prayer is from Satan, so when any of you yawns, let him suppress it as much as he is able.”
Research and Takhrij:
This hadith is sahih (authentic). Tirmidhi: 370. Imam Tirmidhi said that this hadith is hasan sahih. Muslim: 2994, Bukhari: 3289.
Benefits:
➊ Yawning is a sign of laziness, and laziness is a pleasing attack of Satan, through which the limbs of a person become stiff and the mouth comes to open.
➋ Yawning may come, but one should try to hold it back; rather, if the mouth does not open at all, that is better; otherwise one should cover the mouth with the hand. This has several benefits: first, the breath of the person yawning does not affect the other person; second, if there is a smell from the mouth because of a stomach disorder, it does not repel the other person.
➌ By opening the mouth too wide while yawning, the jaw of the mouth can be harmed. Likewise, making sounds at the time of yawning is a foolish act. Its great harm is that other people also begin to yawn, from which an atmosphere of laziness is born; this is contrary to the Shariah.
➍ Making a sound at the time of yawning is forbidden especially in prayer. Swallowing the yawn, not letting a yawn come at all, is a very good habit.