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:5510Abū al-Ḥasan Muḥammad b. al-Ḥusayn al-ʿAlawī ؒ > Abū Ḥāmid b. al-Sharqī > Abū ʿAwn Muḥammad b. Aḥmad b. Ḥafṣ > ʿAbdān from my father > Shuʿbah > Ayyūb > Nāfiʿ > Ibn ʿUmar

[Machine] That the Messenger of Allah ﷺ was on a journey on a dark night and cold or a dark night and frost or a dark night and rain, so his announcer called out to him saying, "Pray in your travel bags."  

البيهقي:٥٥١٠أَخْبَرَنَا أَبُو الْحَسَنِ مُحَمَّدُ بْنُ الْحُسَيْنِ الْعَلَوِيُّ رَحِمَهُ اللهُ أنبأ أَبُو حَامِدِ بْنُ الشَّرْقِيِّ ثنا أَبُو عَوْنٍ مُحَمَّدُ بْنُ أَحْمَدَ بْنِ حَفْصٍ ثنا عَبْدَانُ أَخْبَرَنِي أَبِي ثنا شُعْبَةُ عَنْ أَيُّوبَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَسُولَ اللهِ ﷺ كَانَ فِي سَفَرٍ فِي لَيْلَةٍ ذَاتِ ظُلْمَةٍ وَرَدْغٍ أَوْ ظُلْمَةٍ وَبَرَدٍ أَوْ ظُلْمَةٍ وَمَطَرٍ فَنَادَى مُنَادِيهُ أَنْ صَلُّوا فِي رِحَالِكُمْ