Sunan Abi Dawud, Book 43, Hadith 254 (Abu Dawud 5028)

Abu Sa’id al-Khudri reported the Messenger of Allah (May peace be upon him) as saying:

When one of you yawns, he should hold his hand over his mouth, for the devil enters.