حَدَّثَنَا آدَمُ، قَالَ: حَدَّثَنَا ابْنُ أَبِي ذِئْبٍ، قَالَ: حَدَّثَنَا سَعِيدٌ الْمَقْبُرِيُّ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: ”إِنَّ اللَّهَ يُحِبُّ الْعُطَاسَ، وَيَكْرَهُ التَّثَاؤُبَ، فَإِذَا عَطَسَ فَحَمِدَ اللَّهَ فَحَقٌّ عَلَى كُلِّ مُسْلِمٍ سَمِعَهُ أَنْ يُشَمِّتَهُ، وَأَمَّا التَّثَاؤُبُ فَإِنَّمَا هُوَ مِنَ الشَّيْطَانِ، فَلْيَرُدَّهُ مَا اسْتَطَاعَ، فَإِذَا قَالَ: هَاهْ، ضَحِكَ مِنْهُ الشَّيْطَانُ.“
It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Prophet (peace and blessings of Allah be upon him) said: "Allah likes sneezing and dislikes yawning. When someone sneezes and says «الحمد للہ», it is the right of every Muslim who hears him to respond to his sneeze. As for yawning, it is purely from Satan, so one should try to stop it as much as possible. When a person yawns and says 'Ha', Satan laughs at him."