Qaza reported,

I came to Abu Saeed Khudri while he was giving religious rulings to the people, who were crowding around him. I waited until he was alone, and when he was free, I asked him about fasting Ramadan while traveling.He said, "We went out with the Prophet ﷺ during Ramadan in the year of the Conquest. The Messenger of Allah ﷺ was fasting and we were fasting, until we reached one of the way-stations.He said, 'You have drawn near to your enemy, and breaking the fast will give you greater strength.'So some of us fasted and some broke the fast. Then we traveled on and stopped at another station.He said, 'You will meet your enemy in the morning, and breaking the fast will give you greater strength, so break your fast.'This was a firm command from the Messenger of Allah ﷺ."Abu Saeed said, "Then later I saw myself fasting with the Prophet ﷺ both before that and after it."

Abu Dawud 2406

Sahih

حدثنا أحمد بن صالح ووهب بن بيان المعنى قالا حدثنا ابن وهب حدثني معاوية عن ربيعة بن يزيد أنه حدثه

عن قزعة قال

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

أبو داود 2406صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Fasting
Chapter
Merchant who breaks his fast
Numbering
Darussalam 2406
Abu Dawud 2406