"عن أبي هريرة قال: إنَّ الله -تَعَالَى- يُحبُ العطَاسَ ويَكْرَهُ التثاؤُبَ، فَإذَا قَال أحدُكُم: هاه هاه فإنَّمَا ذَلَك الشيطانُ يَضْحَكُ في جوفه".
Allah likes sneezing but dislikes yawning. So when one of you yawns, he should restrain it as much as possible, and should not say Ha, Ha, for that is from the devil who laughs at him.
قَالَ رَسُولُ اللَّهِ ﷺ إِنَّ اللَّهَ يُحِبُّ الْعُطَاسَ وَيَكْرَهُ التَّثَاؤُبَ فَإِذَا تَثَاءَبَ أَحَدُكُمْ فَلْيَرُدَّهُ مَا اسْتَطَاعَ وَلاَ يَقُلْ هَاهْ هَاهْ فَإِنَّمَا ذَلِكُمْ مِنَ الشَّيْطَانِ يَضْحَكُ مِنْهُ
[Machine] The Messenger of Allah ﷺ said, "Indeed, Allah loves sneezing and dislikes or hates yawning. So when one of you says 'ha ha', that is only Shaytan laughing from within him."
قَالَ رَسُولُ اللهِ ﷺ إِنَّ اللهَ يُحِبُّ الْعُطَاسَ وَيُبْغِضُ أَوْ يَكْرَهُ التَّثَاؤُبَ فَإِذَا قَالَ أَحَدُهُمْ هَا هَا فَإِنَّمَا ذَلِكَ الشَّيْطَانُ يَضْحَكُ مِنْ جَوْفِهِ
Allah likes sneezing but dislikes yawning. So when one of you yawns, he should restrain it as much as possible, and should not say Ha, Ha, for that is from the devil who laughs at him. (Using translation from Abū Dāʾūd 5028)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ إِنَّ اللهَ يُحِبُّ الْعُطَاسَ وَيَكْرَهُ التَّثَاؤُبَ فَإِذَا تَثَاءَبَ أَحَدُكُمْ فَقَالَ هَاهْ فَإِنَّ ذَلِكَ شَيْطَانٌ يَضْحَكُ مِنْ جَوْفِهِ