I heard the Prophet (ﷺ) saying, "A good dream is from Allah, and a bad dream is from Satan. So if anyone
of you sees (in a dream) something he dislikes, when he gets up he should blow thrice (on his left
side) and seek refuge with Allah from its evil for then it will not harm him."
Sahih al-Bukhari Book 76, Hadith 62