Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates this statement of the Prophet (peace and blessings of Allah be upon him): "Yawning is from the devil, so when a person feels like yawning, he should try his best to restrain it."
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 2357
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الإرواء» (3/ 244 / 779): خ.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده قوي على شرط مسلم.