For the traveller and others like him there is a concession to leave the fast, but if they fear the destruction of their lives or weakness in fighting, then breaking the fast is necessary.
➊ It is narrated from Aisha (may Allah be pleased with her) that the Prophet ﷺ said to Hamza bin Amr al-Aslami (may Allah be pleased with him) about fasting during a journey:
وإن شئت فصم وإن شئت فأفطر
“If you wish, fast (on a journey), and if you wish, leave it.”
[Bukhari: 1943, Kitab al-Sawm: Bab al-Sawm fi al-Safar wa al-Ifṭar, Muwatta: 1/295, Muslim: 1121, Abu Dawud: 2402, Tirmidhi: 711, Nasa’i: 4/187, Ibn Majah: 1662]
➋ It is narrated from Abu Darda (may Allah be pleased with him) that he was on a journey with the Prophet ﷺ on an extremely hot day in the month of Ramadan, and on that journey only the Prophet ﷺ and Abdullah bin Rawaha (may Allah be pleased with him) were fasting.
[Bukhari: 1954, Kitab al-Sawm: Bab, Muslim: 1122, Abu Dawud: 2409, Ibn Majah: 1663, Ahmad: 5/194]
➌ It is narrated from Anas (may Allah be pleased with him): We used to travel with the Messenger of Allah ﷺ:
فلــم يـعــب الـصـالـم علـى المفطر ولا المفطر على الصائم
“The one who fasted did not find fault with the one who did not fast, nor did the one who did not fast find fault with the one who fasted.”
[Bukhari: 1947, Kitab al-Sawm: Bab Lam Ya’ib Ashab al-Nabi Ba’duhum Ba’dan fi al-Sawm wa al-Ifṭar, Muslim: 1118, Muwatta: 23]
➍ It is narrated from Hamza bin Amr al-Aslami (may Allah be pleased with him) that the Messenger of Allah ﷺ said:
هى رخصة مـن اللــه ، فمن أخذ بها فحسن ومن أحب أن يصوم فلا جناح عليه
“This (that is, the permission to leave the fast during a journey) is a concession from Allah. Whoever takes it, it is good, and whoever likes to fast, there is no blame on him either.”
[Muslim: 1121, Kitab al-Siyam: Bab al-Takhyir fi al-Sawm wa al-Fitr fi al-Safar, Muwatta: 1/295, Tayalisi: 1/189, Ahmad: 3/494, Hakim: 1/433, Bayhaqi: 4/187, Abu Dawud: 2402]
➎ It is narrated from Abu Sa’id (may Allah be pleased with him): We travelled with the Messenger of Allah ﷺ to Makkah while fasting. (The narrator says:) We made camp at a place, and the Messenger of Allah ﷺ said: “Indeed you are near the enemy, so leaving the fast is better for you.” At that time this statement of his ﷺ was a concession, which is why some of us fasted and some broke the fast. Then we made camp at another place, and he ﷺ said: “Indeed you will attack your enemy in the morning, and leaving the fast is better for you, so break your fast.” So this statement of his ﷺ was an obligation (‘azimah) (that is, binding to act upon). Then I certainly witnessed that even after this journey we used to fast on journeys with the Messenger of Allah ﷺ.
[Muslim: 1120, Kitab al-Siyam: Bab Ajr al-Mufṭir fi al-Safar Idha Tawalla al-‘Amal, Ahmad: 3/35, Abu Dawud: 2406, Ibn Khuzaymah: 2023]
It is therefore known that on a journey both fasting and leaving the fast are valid. Furthermore, regarding the narration in which it is mentioned that the Prophet ﷺ said about those who fasted on a journey:
أولئك العصاة ، أولئك العصاة
“Those are the disobedient ones, those are the disobedient ones.”
[Muslim: 114, Kitab al-Siyam: Bab Jawaz al-Sawm wa al-Fitr fi Shahr Ramadan, Tirmidhi: 710, Nasa’i: 4/177, Sharh Ma’ani al-Athar: 2/65, Bayhaqi: 4/231, Ibn Khuzaymah: 2019]
the majority of scholars answer this by saying that he ﷺ said this to them specifically because of their opposing the command to break the fast on that particular day.
[Subul al-Salam: 2/886]
Abd al-Rahman Mubarakpuri (may Allah have mercy on him) says that what is meant by this (that is, the disobedient) is a person for whom the fast is burdensome (yet he still fasts on the journey).
[Tuhfat al-Ahwadhi: 3/453]
Moreover, in one narration these words are also found: “It was said to him ﷺ that the fast has indeed put the people in hardship. (For this reason he ﷺ broke the fast on the journey and called those who did not break it disobedient).”
[As stated by al-Hafiz in Bulugh al-Maram: 546]
And regarding the narration in which it says:
ليس من البر الصوم فى السفر
“Fasting on a journey is not righteousness.”
[Bukhari: 1946, Kitab al-Sawm: Bab Qawl al-Nabi li-Man Zulliла ‘Alayh, Muslim: 1115, Abu Dawud: 2407, Nasa’i: 4/175]
this concerns a person for whom fasting on a journey is difficult and burdensome and who fasts nonetheless, as is established by this very hadith.
Likewise, regarding the narration in which it is mentioned:
صائم رمضان فى السفر كا لمفطر فى الحضر
“The one who fasts Ramadan on a journey is like the one who does not fast while resident (that is, while staying in his place).” It is munkar (rejected) and da’if (weak).
[Al-Da’ifah: 498, Da’if Ibn Majah: 498, Kitab al-Siyam: Bab Ma Ja’a fi al-Ifṭar fi al-Safar, Ibn Majah: 1666]
It is established that on a journey both fasting and leaving the fast are permissible and valid.
(The majority) hold this view.
[Al-Rawdah al-Nadiyyah: 1/549, Nayl al-Awtar: 3/200]
However, according to Imam Dawud al-Zahiri (may Allah have mercy on him) and others, leaving the fast on a journey is obligatory, and the fast of the one who fasts is not valid. Their evidence is this hadith:
عليكم برخصة الله التى رخص لكم فاقبلوها
“Take the concession of Allah without fail, and accept it, which Allah has permitted for you.”
[Sahih: Sahih Nasa’i: 2132, Kitab al-Siyam: Bab al-‘Illah allati min Ajliha Qila Dhalik, Irwa’ al-Ghalil: 4/53, Nasa’i: 2260]
Remember that this ruling is for a person for whom fasting during a journey is difficult, as is present in this very narration, that he ﷺ gave this command to a person over whom water was being sprinkled beneath a shady tree because of the hardship of fasting on the journey.
The scholars differed on this issue, whether fasting on a journey is better or leaving it:
(The majority, Malik, Shafi’i, Abu Hanifa (may Allah have mercy on them)) When there is no hardship on a journey, fasting is better, and when hardship is feared, leaving the fast is better.
(Ahmad (may Allah have mercy on him)) Only leaving the fast is better in every case.
[Subul al-Salam: 2/886, Bidayat al-Mujtahid: 2/165, Al-Fiqh al-Islami wa Adillatuh: 2/631, Al-Majmu’: 6/260, Al-Rawd al-Nadir: 3/134]
(Shawkani (may Allah have mercy on him)) For one for whom fasting is difficult, or whom fasting (on a journey) harms, or who turns away from accepting the concession, or who fears falling into boasting and showing off by fasting during the journey, leaving the fast is better, and for the one who is free of these things, fasting is better.
[Nayl al-Awtar: 3/201]
Some people also hold that fasting and leaving it are equal, neither being better, and some say that whichever of the two is easier should be adopted.
[Subul al-Salam: 2/886, Tuhfat al-Ahwadhi: 3/453]
(The preferred view) The position of Imam Shawkani (may Allah have mercy on him) and others is closer to the hadiths.
(Abd al-Rahman Mubarakpuri (may Allah have mercy on him)) The position of the majority is the preferred one.
[Tuhfat al-Ahwadhi: 3/453]