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.

Sahih Muslim Book 13, Hadith 118