Anas bin Malik reported,

We were traveling with the Prophet ﷺ, and some of us were fasting while others were not. We stopped at a resting place on a hot day. The one with the most shade among us was the man who had a cloak, while some of us shielded ourselves from the sun with our hands. Those who were fasting collapsed from exhaustion, while those who were not fasting got up, pitched the tents, and watered the mounts.The Messenger of Allah ﷺ said, "Those who broke their fast have taken the reward today."

Muslim 2622

Sahih

حدثنا أبو بكر بن أبي شيبة أخبرنا أبو معاوية عن عاصم عن مورق

عن أنس رضي الله عنه قال

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

مسلم 2622صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Fasting
Chapter
Reward of the one who breaks his fast while traveling if he undertakes the work
Numbering
Darussalam 2622
Muslim 2622