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."
Sahih al-Bukhari Book 59, Hadith 98