[Machine] Whoever fasts Ramadan while traveling, should make up for it. I asked Abu Qirsaafa, a companion of the Messenger of Allah ﷺ, he said, "If I were to fast and continue fasting until ten days had passed, I would not make up for it." And it was narrated from Abdurrahman ibn Awf that he said, "The fasting person while traveling is like someone who breaks his fast while in a settled place." This narration is supported, but the chain of transmission is weak.
مَنْ صَامَ رَمَضَانَ فِي السَّفَرِ فَلْيَقْضِهِ فَسَأَلْتُ أَبَا قِرْصَافَةَ رَجُلٌ مِنْ أَصْحَابِ رَسُولِ اللهِ ﷺ قَالَ لَوْ صُمْتُ ثُمَّ صُمْتُ حَتَّى عَدَّ عَشْرًا لَمْ أَقْضِهِ وَرُوِيَ عَنْ عَبْدِ الرَّحْمَنِ بْنِ عَوْفٍ أَنَّهُ قَالَ الصَّائِمُ فِي السَّفَرِ كَالْمُفْطِرِ فِي الْحَضَرِ وَهُوَ مَوْقُوفٌ وَفِي إِسْنَادِهِ انْقِطَاعٌ وَرُوِيَ مَرْفُوعًا وَإِسْنَادُهُ ضَعِيفٌ