[Machine] It was narrated that the Messenger of Allah ﷺ said: "Righteous dreams are part of Prophethood, forty-six parts thereof." He also said: "Righteous dreams are from Allah and bad dreams are from Satan. Therefore, when one of you sees a dream that he dislikes, let him spit three times to his left and seek refuge in Allah from its evil, for it will not harm him."
أَنَّ رَسُولَ اللهِ ﷺ قَالَ «الرُّؤْيَا الصَّالِحَةُ جُزْءٌ مِنْ سِتَّةٍ وَأَرْبَعِينَ جُزْءًا مِنَ النُّبُوَّةِ» وَقَالَ «الرُّؤْيَا الصَّالِحَةُ مِنَ اللهِ وَالْحُلُمُ مِنَ الشَّيْطَانِ فَإِذَا حَلَمَ أَحَدُكُمْ حُلُمًا يَخَافُهُ فَلْيَبْصُقْ عَنْ يَسَارِهِ ثَلَاثَ مَرَّاتٍ وَلْيَسْتَعِذْ بِاللهِ مِنْ شَرِّهِ فَإِنَّهُ لَنْ يَضُرَّهُ»