Chapter: 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
Jabir b. 'Abdullah (Allah be pleased with both of them) reported that in the course of a journey Allah's Messenger ( صلی اللہ علیہ وسلم ) saw a man, people crowding around him and providing him a shade. Upon this he (the Holy Prophet) said: What is the matter with him? They said: He is a person observing fast. Whereupon the Messenger of Allah ( صلی اللہ علیہ وسلم ) said: It is no righteousness that you fast on journey.
Authentic