The Prophet (sws) is reported to have said:
Allah likes sneezing and dislikes yawning, so if someone
sneezes and then praises Allah, then it is obligatory on every Muslim who heard
him, to say: yarhamukullāh (may Allah be merciful to you). But as regards
yawning, it is from Satan, so one must try one’s best to stop it, if one says
‘Ha’ when yawning, Satan will laugh at him. (Bukhārī, Kitābu’l Adab)
My question is: Is it bad to yawn then?