Compiled by Imam Yahya ibn Sharaf al-Nawawi
وعن أبى قتادة رضى الله عنه قال: قال النبي صلى الله عليه وسلم: "الرؤيا الصالحة -وفى رواية: الرؤيا الحسنة- من الله، والحلم من الشيطان، فمن رأى شيئاً يكره فلينفث عن شماله ثلاثاً، وليتعوذ من الشيطان فإنها لا تضره" (( مُتَّفَقٌ عَلَيهِ)). النفث نفخ لطيف لا ريق معه.
The Prophet (ﷺ) said, "A good vision (dream) is from Allah and a bad dream is from the Satan. He who sees something in a dream that he dislikes, should blow thrice on his left, must seek Allah's Refuge from the evil of the Satan (i.e., by saying: A'udhu billahi minash-Shaitanir-Rajim). Then it will not harm him."[Al-Bukhari and Muslim].