The Prophet ﷺ saw a man who had been put in the shade and saw a crowd of people around him (in the course of a journey). He said: Fasting while on journey is not part of righteousness.
أَنَّ رَسُولَ اللَّهِ ﷺ رَأَى رَجُلاً يُظَلَّلُ عَلَيْهِ وَالزِّحَامُ عَلَيْهِ فَقَالَ لَيْسَ مِنَ الْبِرِّ الصِّيَامُ فِي السَّفَرِ