Sahih Muslim, Book 55, Hadith 73 (Muslim 7396)

Abu Huraira reported Allah's Messenger (ﷺ) as saying:

The yawning as from the devil. So when one of you yawns he should try to restrain it as far as it lies in his power.