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:8165Abū ʿAbdullāh Isḥāq b. Muḥammad b. Yūsuf al-Sūsī And ʾAbū ʿAbd al-Raḥman al-Sulamī > Abū al-ʿAbbās al-Aṣam > al-ʿAbbās b. al-Walīd b. Mazyad from my father > al-Awzāʿī Ḥddathanī Ziyād al-Numayrī Ḥddathanī Anas b. Mālik

[Machine] The Messenger of Allah ﷺ fasted during Ramadan while he was traveling, and he also encountered Ramadan while traveling and broke his fast.  

البيهقي:٨١٦٥أَخْبَرَنَا أَبُو عَبْدِ اللهِ إِسْحَاقُ بْنُ مُحَمَّدِ بْنِ يُوسُفَ السُّوسِيُّ وَأَبُو عَبْدِ الرَّحْمَنِ السُّلَمِيُّ قَالَا ثنا أَبُو الْعَبَّاسِ الْأَصَمُّ أنبأ الْعَبَّاسُ بْنُ الْوَلِيدِ بْنِ مَزْيَدٍ أَخْبَرَنِي أَبِي سَمِعْتُ الْأَوْزَاعِيَّ حدَّثَنِي زِيَادٌ النُّمَيْرِيُّ حدَّثَنِي أَنَسُ بْنُ مَالِكٍ قَالَ

وَافَقَ رَسُولُ اللهِ ﷺ رَمَضَانَ فِي سَفَرٍ فَصَامَهُ وَوَافَقَهُ رَمَضَانُ فِي سَفَرٍ فَأَفْطَرَهُ