It is narrated from Hazrat Abu Saeed Khudri (may Allah be pleased with him) that the Prophet (peace and blessings of Allah be upon him) said: If any of you feels like yawning, he should place his hand over his mouth, for the devil enters his mouth along with the yawn.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 11916