Jabir bin Abdullah reported,

The Messenger of Allah ﷺ saw a group of people gathered around a man, so he asked about him. They said, "He is a man overcome by fasting." The Messenger of Allah ﷺ said, "It is not righteousness to fast while traveling."

Nasai 2259

Sahih

أخبرنا قتيبة قال حدثنا بكر عن عمارة بن غزية عن محمد بن عبد الرحمن

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

أن رسول الله ﷺ رأى ناسا مجتمعين على رجل فسأل فقالوا رجل أجهده الصوم قال رسول الله ﷺ ليس من البر الصيام في السفر

النسائي 2259صحيح
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 2259
Nasai 2259