حَدَّثَنَا أَحْمَدُ بْنُ أَبِي عُبَيْدِ اللَّهِ السَّلِيمِيُّ الْبَصْرِيُّ، حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ، حَدَّثَنَا سَعِيدٌ، عَنْ قَتَادَةَ، عَنْ مُحَمَّدِ بْنِ سِيرِينَ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ الرُّؤْيَا ثَلاَثٌ فَرُؤْيَا حَقٌّ وَرُؤْيَا يُحَدِّثُ بِهَا الرَّجُلُ نَفْسَهُ وَرُؤْيَا تَحْزِينٌ مِنَ الشَّيْطَانِ فَمَنْ رَأَى مَا يَكْرَهُ فَلْيَقُمْ فَلْيُصَلِّ ‏"‏ ‏.‏ وَكَانَ يَقُولُ ‏"‏ يُعْجِبُنِي الْقَيْدُ وَأَكْرَهُ الْغُلَّ الْقَيْدُ ثَبَاتٌ فِي الدِّينِ ‏"‏ ‏.‏ وَكَانَ يَقُولُ ‏"‏ مَنْ رَآنِي فَإِنِّي أَنَا هُوَ فَإِنَّهُ لَيْسَ لِلشَّيْطَانِ أَنْ يَتَمَثَّلَ بِي ‏"‏ ‏.‏ وَكَانَ يَقُولُ ‏"‏ لاَ تُقَصُّ الرُّؤْيَا إِلاَّ عَلَى عَالِمٍ أَوْ نَاصِحٍ ‏"‏ ‏.‏ وَفِي الْبَابِ عَنْ أَنَسٍ وَأَبِي بَكْرَةَ وَأُمِّ الْعَلاَءِ وَابْنِ عُمَرَ وَعَائِشَةَ وَأَبِي مُوسَى وَجَابِرٍ وَأَبِي سَعِيدٍ وَابْنِ عَبَّاسٍ وَعَبْدِ اللَّهِ بْنِ عَمْرٍو ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏

Abu Hurarirah narrated that the Messenger of Allah (s.a.w) said: "Dreams are of three types: The true dream, dreams about something that has happened to the man himself, and dreams in which the Shaitan frightens someone. So whoever sees what he dislikes, then he should get up and perform Salah." And he would say: "I like fetters and I dislike the iron collar." And he would say: " Whoever has seen me (in a dream) then it is I , for indeed Shaitan is not able to resemble me." And he would say: "The dream is not to be narrated except to a knowledgeable person or a sincere advisor." Translation Not Available

Book Ref: Jamiya Tirmidhi Book 34 Hadith 2280
Web Ref:  Jamiya Tirmidhi Vol 4 Book 8 Hadith 2280