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.
tirmidhi:1684Aḥmad b. Muḥammad b. Mūsá > ʿAbdullāh b. al-Mubārak > Saʿīd b. ʿAbd al-ʿAzīz > ʿAṭiyyah b. Qays > Qazaʿah > Abū Saʿīd al-Khudrī

"During the year of the conquest, when the Prophet ﷺ reached Marr Zahran, he told us that we would meet the enemy. So he ordered us to break the fast, and we [all] broke our fast."  

[Abu 'Eisa said:] This Hadith is Hasan Sahih, and there is something on this topic from Ibn 'Umar.
الترمذي:١٦٨٤حَدَّثَنَا أَحْمَدُ بْنُ مُحَمَّدِ بْنِ مُوسَى أَنْبَأَنَا عَبْدُ اللَّهِ بْنُ الْمُبَارَكِ أَنْبَأَنَا سَعِيدُ بْنُ عَبْدِ الْعَزِيزِ عَنْ عَطِيَّةَ بْنِ قَيْسٍ عَنْ قَزَعَةَ عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ

لَمَّا بَلَغَ النَّبِيُّ ﷺ عَامَ الْفَتْحِ مَرَّ الظَّهْرَانِ فَآذَنَنَا بِلِقَاءِ الْعَدُوِّ فَأَمَرَنَا بِالْفِطْرِ فَأَفْطَرْنَا أَجْمَعُونَ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ وَفِي الْبَابِ عَنْ عُمَرَ

See similar narrations below:

Collected by Aḥmad
ahmad:11242Ibrāhīm b. Isḥāq > Ibn Mubārak > Saʿīd b. ʿAbd al-ʿAzīz > ʿAṭiyyah b. Qays > Qazaʿah > Abū Saʿīd al-Khudrī

"During the year of the conquest, when the Prophet ﷺ reached Marr Zahran, he told us that we would meet the enemy. So he ordered us to break the fast, and we [all] broke our fast." (Using translation from Tirmidhī 1684)   

أحمد:١١٢٤٢حَدَّثَنَا إِبْرَاهِيمُ بْنُ إِسْحَاقَ حَدَّثَنَا ابْنُ مُبَارَكٍ عَنْ سَعِيدِ بْنِ عَبْدِ الْعَزِيزِ عَنْ عَطِيَّةَ بْنِ قَيْسٍ عَنْ قَزَعَةَ عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ

لَمَّا بَلَغَ رَسُولُ اللهِ ﷺ عَامَ الْفَتْحِ مَرَّ الظَّهْرَانِ آذَنَنَا بِلِقَاءِ الْعَدُوِّ فَأَمَرَنَا بِالْفِطْرِ فَأَفْطَرْنَا أَجْمَعُونَ