Abu Saeed Khudri reported,

The Messenger of Allah ﷺ announced our departure during the year of the Conquest after two nights of Ramadan had passed. We set out fasting until we reached al-Kadid, where the Messenger of Allah ﷺ ordered us to break our fast. The next morning, some of the people were fasting and others were not, until we reached the nearest stopping place where we would meet the enemy. He then ordered us to break our fast, and we all did so.

Azami 9142

Sahih

عن أبي سعيد الخدري قال

أذنا رسول الله ﷺ بالرحيل عام الفتح في ليلتين خلتا من رمضان، فخرجنا صواما حتى إذا بلغنا الكديد فأمرنا رسول الله ﷺ بالفطر، فأصبح الناس منهم الصائم، ومنهم المفطر حتى إذا بلغ أدنى منزل نلقى العدو أمرنا بالفطر فأفطرنا أجمعين.

الأعظمي 9142صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Events between the expedition of Mutah and the expedition of the conquest of Makkah
Section
Time of the Prophet ﷺ departing to Makkah with an army of ten thousand
Numbering
Jami al-Kamil 9142 (2nd edition)
Azami 9142