Allah likes sneezing but dislikes yawning. So when one of you yawns, he should restrain it as much as possible, and should not say Ha, Ha, for that is from the devil who laughs at him.
Sunan Abi Dawud Book 43, Hadith 256