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:714Qutaybah > Ibn Lahīʿah > Yazīd b. Abū Ḥabīb > Maʿmar b. Abū Ḥuyayyah > Ibn al-Musayyab > Saʾalah

he asked Ibn Al-Musaiyab about fasting on a journey, so he narrated to him that Umar bin Al-Khattab said: "We fought in two battles along with the Messenger of Allah during Ramadan; the Day of Badr, and the Conquest (of Makkah), so we broke our fast during them."  

الترمذي:٧١٤حَدَّثَنَا قُتَيْبَةُ حَدَّثَنَا ابْنُ لَهِيعَةَ عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ عَنْ مَعْمَرِ بْنِ أَبِي حُيَيَّةَ عَنِ ابْنِ الْمُسَيَّبِ أَنَّهُ سَأَلَهُ عَنِ الصَّوْمِ فِي السَّفَرِ فَحَدَّثَ أَنَّ عُمَرَ بْنَ الْخَطَّابِ قَالَ

غَزَوْنَا مَعَ رَسُولِ اللَّهِ ﷺ فِي رَمَضَانَ غَزْوَتَيْنِ يَوْمَ بَدْرٍ وَالْفَتْحِ فَأَفْطَرْنَا فِيهِمَا قَالَ وَفِي الْبَابِ عَنْ أَبِي سَعِيدٍ  

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

See similar narrations below:

Collected by Aḥmad, Suyūṭī
ahmad:140Abū Saʿīd > Ibn Lahīʿah > Bukayr > Saʿīd b. al-Musayyibiʿan ʿUmar

We went on a campaign with the Messenger of Allah ﷺ during Ramadan and the conquest took place in Ramadan, and we broke the fast in both cases.  

أحمد:١٤٠حَدَّثَنَا أَبُو سَعِيدٍ حَدَّثَنَا ابْنُ لَهِيعَةَ حَدَّثَنَا بُكَيْرٌ عَنْ سَعِيدِ بْنِ الْمُسَيِّبِعَنْ عُمَرَ قَالَ

غَزَوْنَا مَعَ رَسُولِ اللهِ ﷺ فِي رَمَضَانَ وَالْفَتْحَ فِي رَمَضَانَ فَأَفْطَرْنَا فِيهِمَا  

ahmad:142Ḥasan b. Mūsá > Ibn Lahīʿah > Yazīd b. Abū Ḥabīb > Maʿmarʾannah Saʾal Saʿīd b. al-Musayyib

We went out on two campaigns with the Messenger of Allah ﷺ during the month of Ramadan, the day of Badr and the conquest (of Makkah), and we broke the fast in both cases.  

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

أَنَّهُ قَالَ غَزَوْنَا مَعَ رَسُولِ اللهِ ﷺ غَزْوَتَيْنِ فِي شَهْرِ رَمَضَانَ يَوْمَ بَدْرٍ وَيَوْمَ الْفَتْحِ فَأَفْطَرْنَا فِيهِمَا  

suyuti:2-51b
Request/Fix translation

  

السيوطي:٢-٥١b

"غَزَوْنَا مَعَ رَسُولِ الله ﷺ غَزْوَتَيْنِ فيِ رَمَضَانَ يَوْمَ الْبَدْرِ، وَيَوْمَ الْفَتْحِ، فَأَفْطَرْنَا فِيهِمَا".  

[حم] أحمد [ت] الترمذي وهو حسن