he asked the Messenger of Allah about fasting while traveling. He said: "If," then he said something to the effect that: "If you want, then fast, and if you want, then do not fast. (Using translation from Nasāʾī 2294)
أَنَّهُ سَأَلَ رَسُولَ اللهِ ﷺ عَنِ الصَّوْمِ فِي السَّفَرِ؟ فَقَالَ إِنْ شِئْتَ صُمْتَ وَإِنْ شِئْتَ أَفْطَرْتَ