Jabir reported: The Messenger of Allah, peace and blessings be upon him, said, “If one of you sees a dream he dislikes, let him blow on his left side three times and seek refuge in Allah from Satan three times. Let him turn to the other side on which he was sleeping.”
Source: Ṣaḥīḥ Muslim 2262
Grade: Sahih (authentic) according to Muslim
عَنْ جَابِرٍعَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنَّهُ قَالَ إِذَا رَأَى أَحَدُكُمْ الرُّؤْيَا يَكْرَهُهَا فَلْيَبْصُقْ عَنْ يَسَارِهِ ثَلَاثًا وَلْيَسْتَعِذْ بِاللَّهِ مِنْ الشَّيْطَانِ ثَلَاثًا وَلْيَتَحَوَّلْ عَنْ جَنْبِهِ الَّذِي كَانَ عَلَيْهِ
2262 صحيح مسلم كتاب الرؤيا