It is permissible to fast or not to fast during Ramadan for one who is travelling for no sinful purpose, if his journey is two stages or further. But it is better for the one who is able to fast without suffering any harm to do so, and the one for whom it is difficult may break the fast Sahih Muslim 1113 f

Show Arabic text
Translation
Ibn Abbas (Allah be pleased with him) reported

Do not condemn one who observes fast, or one who does not observe (in a journey). for the Messenger of Allah (ﷺ) observed fast in a journey or he did not observe it (too).