عَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَمْ يَبْقَ مِنَ النُّبُوَّةِ إِلَّا الْمُبَشِّرَاتُ» قَالُوا: وَمَا الْمُبَشِّرَاتُ؟ قَالَ: «الرُّؤْيَا الصالحةُ» . رَوَاهُ البُخَارِيّ وَزَادَ مَالِكٌ بِرِوَايَةِ عَطَاءِ بْنِ يَسَارٍ: «يَرَاهَا الرجل الْمُسلم أَو ترى لَهُ»
Copy
Abu Qatada reported God’s messenger as saying

"A good vision comes from God and a dream (hulm) from the devil. So when one of you sees what he likes he must tell it only to one whom he likes; but when he sees What he dislikes he must seek refuge in God from its evil and from the evil of the devil, spit on his left three times, and not tell anyone of it. It will then not harm him.” (Bukhari and Muslim.)