Hamza bin Amr reported,

I used to fast continuously during the time of the Messenger of Allah ﷺ. I said, "Messenger of Allah, I fast continuously while traveling."He replied, "If you wish, fast, and if you wish, break your fast."

Nasai 2302

Sahih

أخبرنا عمران بن بكار قال حدثنا أحمد بن خالد قال حدثنا محمد عن عمران بن أبي أنس عن سليمان بن يسار وحنظلة بن علي قال حدثاني جميعا

عن حمزة بن عمرو قال

كنت أسرد الصيام على عهد رسول الله ﷺ فقلت يا رسول الله إني أسرد الصيام في السفر فقال إن شئت فصم وإن شئت فأفطر

النسائي 2302صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Fasting
Chapter
Difference of opinion regarding Sulayman bin Yasar in the hadith of Hamza bin Amr about this
Numbering
Darussalam 2302
Nasai 2302