Sahih al-Bukhari #3289
Beginning of Creation 59:98
Narrated Abu Huraira:
The Prophet (ﷺ) said, "Yawning is from Satan and if anyone of you yawns, he should check his yawning as much as possible, for if anyone of you (during the act of yawning) should say: 'Ha', Satan will laugh at him."