Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) mentioned that the Messenger of Allah (peace and blessings be upon him) was on a journey (the expedition of conquest) when he saw a crowd and noticed that people were shading someone. The Prophet (peace be upon him) asked: "What is the matter?" They replied: "He is a fasting person." The Prophet (peace be upon him) said: "Fasting while on a journey is not an act of righteousness (not a good deed)."