The ruling on fasting for a pregnant woman and a nursing woman
A pregnant woman and a nursing woman are, in ruling, like the traveller, as narrated from Anas ibn Malik al-Ka’bi (may Allah be pleased with him) that the Messenger of Allah ﷺ said:
إن الله وضع عن المسافر الصوم وشطر الصلاة وعن الحبلى والمرضع الصوم
“Indeed Allah Almighty has lifted from the traveller the fast and half of the prayer, and from the pregnant woman and the nursing woman (only) the fast.”
[Hasan sahih (good and authentic): Sahih Abi Dawud: 2107, Ahmad: 347/4, Abu Dawud: 2308, Tirmidhi: 715, Nasa’i: 180/4, Ibn Majah: 1667, Ibn Khuzaymah: 2032, Abd ibn Humayd: 431]
Whoever dies in a state where he owed fasts, his guardian (that is, his heir) fasts on his behalf
➊ It is narrated from Aisha (may Allah be pleased with her) that the Prophet ﷺ said:
من مات وعليه صيام صام عنه وليه
[Bukhari: 1952, Kitab al-Sawm: Bab man mata alayhi sawm, Muslim: 1147, Ahmad: 69/6, Abu Dawud: 2400, Bayhaqi: 255/4, Abu Ya’la: 4417, Ibn Khuzaymah: 2052, Daraqutni: 194/2, Bayhaqi: 255/4]
The narration in Musnad al-Bazzar in which these words are added, ان شاء “if he wishes (the heir may fast),” is da’if (weak).
[Da’if (weak): al-Ta’liqat al-Radiyyah ala al-Rawdah al-Nadiyyah: 23/2, Kashf al-Astar an Zawa’id al-Bazzar: 1023, 481/1, in Majma’ al-Zawa’id it is stated that its chain of narration is hasan (good): 179/3, Hafiz Ibn Hajar (may Allah have mercy on him) called it weak because of the narrator Ibn Lahi’ah. Talkhis al-Habir: 457/6, Fath al-Bari: 157/4]
Imam al-Bayhaqi (may Allah have mercy on him) writes in “al-Khilafiyyat” that this Sunnah is established. He says: I do not know of any disagreement among the people of hadith on this issue (that the guardian fasts).
[Fath al-Bari: 706/4, Nayl al-Awtar: 213/3]
(Ahmad and al-Awza’i (may Allah have mercy on them)) hold this view (but according to them only a vowed fast can be observed on behalf of the deceased). According to one narration, Imam al-Shafi’i (may Allah have mercy on him) also holds the same position.
(Malik and Abu Hanifa (may Allah have mercy on them)) hold that in no case can a fast be observed on behalf of the deceased; rather, one poor person should be fed. This is also the fatwa of Aisha (may Allah be pleased with her) and Ibn Abbas (may Allah be pleased with them both), and this same view is also reported from Imam al-Shafi’i (may Allah have mercy on him) according to one narration.
[al-Hawi: 452/3, al-Mughni: 399/4, al-Umm: 144/2, Bada’i al-Sana’i: 103/2, al-Mabsut: 89/3, al-Kafi: p. 122, al-Insaf fi Ma’rifat al-Rajih min al-Khilaf: 334/3, Nayl al-Awtar: 214/3]
(Preponderant view) The guardian of the deceased can fast on behalf of the deceased, and representation is valid in this, because an authentic hadith bears witness to it. Those who hold that one poor person is to be fed rely on a weak narration, as narrated from Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah ﷺ said: من مات وعليه صيام أطعم عنه مكان كل يوم مسكينا “Whoever dies while he owed fasts, one poor person should be fed on his behalf in place of each day.”
[Da’if (weak): Da’if Ibn Majah: 389, Kitab al-Siyam: Bab man mata wa alayhi siyam Ramadan qad farrata fihi, Tirmidhi: 718, Ibn Majah: 1757]
The scholars have differed on whether fasting on behalf of the deceased is obligatory or recommended.
(The majority) hold that it is recommended.
[Nayl al-Awtar: 214/3]
(Ibn Hazm (may Allah have mercy on him)) holds that fasting on behalf of the deceased is obligatory.
[al-Muhalla: 420/4]
(Siddiq Hasan Khan (may Allah have mercy on him)) holds the same view.
[al-Rawdah al-Nadiyyah: 551/1]
(Amir al-San’ani (may Allah have mercy on him)) holds that the basic ruling in this is obligation.
[Subul al-Salam: 894/2]
(Albani (may Allah have mercy on him)) holds that this act is not obligatory.
[al-Ta’liqat al-Radiyyah ala al-Rawdah al-Nadiyyah: 25/2]
◈ It should be noted that وعليه صيام does not refer to naql, but rather to fasts that were obligatory upon him, such as the fasts of Ramadan or a vow and the like.