Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:1897Muḥammad b. ʿAbdullāh al-Ḥāfiẓ > Abū al-Faḍl al-Ḥasan b. Yaʿqūb al-ʿAdl > Yaḥyá b. Abū Ṭālib > ʿAbd al-Wahhāb b. ʿAṭāʾ > ʿAwf b. Abū Jamīlah > Abū Rajāʾ al-ʿUṭāridī > ʿImrān b. Ḥuṣayn

[Machine] We were on a journey with the Prophet ﷺ, and he mentioned the importance of praying in our dreams. When he woke up, we complained to him about what had afflicted us, and he said, "There is no harm or damage, it is just a whisper from Satan." Then he said, "Continue your journey." So the Messenger of Allah ﷺ continued the journey and went a short distance and stopped. He then called for ablution and called for the prayer, and he prayed with the people.  

البيهقي:١٨٩٧أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو الْفَضْلِ الْحَسَنُ بْنُ يَعْقُوبَ الْعَدْلُ ثنا يَحْيَى بْنُ أَبِي طَالِبٍ ثنا عَبْدُ الْوَهَّابِ بْنُ عَطَاءٍ أنا عَوْفُ بْنُ أَبِي جَمِيلَةَ عَنْ أَبِي رَجَاءٍ الْعُطَارِدِيِّ عَنْ عِمْرَانَ بْنِ حُصَيْنٍ قَالَ

كُنَّا فِي سَفَرٍ مَعَ النَّبِيِّ ﷺ فَذَكَرَ الْحَدِيثَ فِي نَوْمِهِمْ عَنِ الصَّلَاةِ قَالَ فَلَمَّا اسْتَيْقَظَ شَكَوْنَا إِلَيْهِ الَّذِي أَصَابَنَا فَقَالَ لَا ضَيْرَ أَوْ لَا ضَرَرَ شَكَّ عَوْفٌ فَقَالَ ارْتَحِلُوا فَارْتَحَلَ رَسُولُ اللهِ ﷺ وَسَارَ غَيْرَ بَعِيدٍ فَنَزَلَ فَدَعَا بِوَضُوءٍ وَنَادَى بِالصَّلَاةِ فَصَلَّى بِالنَّاسِ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ إِسْحَاقَ بْنِ إِبْرَاهِيمَ عَنِ النَّضْرِ بْنِ شُمَيْلٍ عَنْ عَوْفٍ