Jabir bin Abdullah reported,

The Messenger of Allah ﷺ passed by a man lying in the shade of a tree who was having water sprinkled over him. He asked, "What is the matter with this companion of yours?"They replied, "Messenger of Allah, he is fasting."He said, "It is not righteousness to fast while traveling. Take hold of the concession Allah has granted you and accept it."

Nasai 2260

Sahih

أخبرني شعيب بن شعيب بن إسحق قال حدثنا عبد الوهاب بن سعيد قال حدثنا شعيب قال حدثنا الأوزاعي قال حدثني يحيى بن أبي كثير قال أخبرني محمد بن عبد الرحمن قال

أخبرني جابر بن عبد الله

أن رسول الله ﷺ مر برجل في ظل شجرة يرش عليه الماء قال ما بال صاحبكم هذا قالوا يا رسول الله صائم قال إنه ليس من البر أن تصوموا في السفر وعليكم برخصة الله التي رخص لكم فاقبلوها

النسائي 2260صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Fasting
Chapter
Reason why that was said and the mention of differences regarding Muhammad bin Abdul-Rahman in the hadith of Jabir bin Abdullah about that
Numbering
Darussalam 2260
Nasai 2260