[Machine] The Messenger of Allah ﷺ traveled during Ramadan, so he fasted and also broke his fast. Whoever wishes to fast may do so, and whoever wishes to break their fast may do so.
«سَافَرَ رَسُولُ اللهِ ﷺ فِي رَمَضَانَ فَصَامَ وَأَفْطَرَ فَمَنْ شَاءَ صَامَ وَمَنْ شَاءَ أَفْطَرَ»