Abu Qatadah reported: The Prophet, peace and blessings be upon him, said, “The good dream is from Allah and the bad dream is from Satan. Whoever sees something he dislikes, let him blow to his left side three times and seek refuge from Satan. Verily, it will not harm him and Satan cannot appear in my form.”
Source: Ṣaḥīḥ al-Bukhārī 6594, Ṣaḥīḥ Muslim 2261
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ أَبِي قَتَادَةَ قَالَ قَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الرُّؤْيَا الصَّالِحَةُ مِنْ اللَّهِ وَالْحُلْمُ مِنْ الشَّيْطَانِ فَمَنْ رَأَى شَيْئًا يَكْرَهُهُ فَلْيَنْفِثْ عَنْ شِمَالِهِ ثَلَاثًا وَلْيَتَعَوَّذْ مِنْ الشَّيْطَانِ فَإِنَّهَا لَا تَضُرُّهُ وَإِنَّ الشَّيْطَانَ لَا يَتَرَاءَى بِي
6594 صحيح البخاري كتاب التعبير باب من رأى النبي صلى الله عليه وسلم في المنام
2261 صحيح مسلم كتاب الرؤيا