Jami` at-Tirmidhi, Volume 4, Book 32, Hadith 2291 (DarusSalam) ⓘ
Abu Hurrairah narrated that the Messenger of Allah (s.a.w) said: "In the end of time, the dreams of a believer will hardly ever fail to come true, and the most truthful of them in dreams will be the truest in speech among them. And dreams are three types: The good dreams wihich is glad tidings from Allah, dreams about something that has happened to the man himself, and dreams in which the Shaitan frightens someone. So when one of you sees what he dislikes, then he should get up and perform Salat." Abu Hurairah said: "I like fetters and dislikes, the iron collar. And fetters refers to being firm in the religion." He said: "The Prophet (s. a. w) said: 'Dreams are a portion among the forty_six portions of Prophethood."
حَدَّثَنَا الْحَسَنُ بْنُ عَلِيٍّ الْخَلاَّلُ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا مَعْمَرٌ، عَنْ أَيُّوبَ، عَنِ ابْنِ سِيرِينَ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " فِي آخِرِ الزَّمَانِ لاَ تَكَادُ رُؤْيَا الْمُؤْمِنِ تَكْذِبُ وَأَصْدَقُهُمْ رُؤْيَا أَصْدَقُهُمْ حَدِيثًا وَالرُّؤْيَا ثَلاَثٌ الْحَسَنَةُ بُشْرَى مِنَ اللَّهِ وَالرُّؤْيَا يُحَدِّثُ الرَّجُلُ بِهَا نَفْسَهُ وَالرُّؤْيَا تَحْزِينٌ مِنَ الشَّيْطَانِ فَإِذَا رَأَى أَحَدُكُمْ رُؤْيَا يَكْرَهُهَا فَلاَ يُحَدِّثْ بِهَا أَحَدًا وَلْيَقُمْ فَلْيُصَلِّ " . قَالَ أَبُو هُرَيْرَةَ " يُعْجِبُنِي الْقَيْدُ وَأَكْرَهُ الْغُلَّ الْقَيْدُ ثَبَاتٌ فِي الدِّينِ " . قَالَ وَقَالَ النَّبِيُّ صلى الله عليه وسلم " رُؤْيَا الْمُؤْمِنِ جُزْءٌ مِنْ سِتَّةٍ وَأَرْبَعِينَ جُزْءًا مِنَ النُّبُوَّةِ " . قَالَ أَبُو عِيسَى وَقَدْ رَوَى عَبْدُ الْوَهَّابِ الثَّقَفِيُّ هَذَا الْحَدِيثَ عَنْ أَيُّوبَ مَرْفُوعًا وَرَوَاهُ حَمَّادُ بْنُ زَيْدٍ عَنْ أَيُّوبَ وَوَقَفَهُ .
also referenced under: Hadith 2291 (Reference) & Book 34, Hadith 2460 (In-Book)