كتاب الزهد والرقائق
55  
The Book of Zuhd and Softening of Hearts
(9)
Chapter: Saying: "May Allah Have Mercy On You" To One Who Sneezes, And Yawning Is Disliked
(9)
باب تَشْمِيتِ الْعَاطِسِ وَكَرَاهَةِ التَّثَاؤُبِ
Sahih Muslim 2995 b

The son of Abu Said al-Khudri reported on the authority of his father that Allah's Messenger (ﷺ) said:

When one of you yawns, he should try to restrain it with cue help of his hand since it is the Satan that enters therein.
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، حَدَّثَنَا عَبْدُ الْعَزِيزِ، عَنْ سُهَيْلٍ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي، سَعِيدٍ عَنْ أَبِيهِ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ إِذَا تَثَاوَبَ أَحَدُكُمْ فَلْيُمْسِكْ بِيَدِهِ فَإِنَّ الشَّيْطَانَ يَدْخُلُ ‏"‏ ‏.‏
Reference : Sahih Muslim 2995b
In-book reference : Book 55, Hadith 75
USC-MSA web (English) reference : Book 42, Hadith 7131
  (deprecated numbering scheme)