Abu Saeed Khudri reported,

We used to go on military expeditions with the Messenger of Allah ﷺ during Ramadan. Some of us fasted and some did not. Those who fasted held no grievance against those who broke their fast, and those who broke their fast held no grievance against those who fasted. They considered that whoever had the strength to fast, it was good for him to do so, and whoever felt weakness and broke his fast, that too was good.

Azami 4606

Sahih

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

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

الأعظمي 4606صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
What is permitted and what is not permitted for the fasting person
Section
Fasting while traveling for one who is able, and breaking the fast for one who is weak
Numbering
Jami al-Kamil 4606 (2nd edition)
Azami 4606