Jabir bin Abdullah reported,

The Messenger of Allah ﷺ set out for Mecca during the year of the Conquest in Ramadan. He fasted until he reached Kura al-Ghamim, and the people fasted along with him. Then he called for a cup of water and raised it high so the people could see him, and he drank it.Afterwards he was told, "Some of the people have continued to fast."He said, "Those are the disobedient ones, those are the disobedient ones."Wazad added in another narration, "The fast had become difficult for the people, and they were watching to see what you would do." So he called for a cup of water after the afternoon prayer.

Azami 4601

Sahih

عن جابر بن عبد الله

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

الأعظمي 4601صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
What is permitted and what is not permitted for the fasting person
Section
Recommendation of breaking the fast while traveling in order to gain strength for fighting, serving one's companions, and similar matters
Numbering
Jami al-Kamil 4601 (2nd edition)
Azami 4601