If one eats due to forgetfulness, a mistake, or coercion, then he does not have to make up the day later or perform any expiation. Abu Hurairah reported that the Prophet said: “Whoever forgets he is fasting, and eats or drinks is to complete his fast, as it was Allah who fed him and gave him something to drink.” This is related by the group.
Commenting on it, at-Tirmizhi says: “Most of the scholars act according to this hadith. It is the opinion of Sufyan ath-Thauri, ash-Shaf’i, Ahrnad, and Ishaq.”
Abu Hanifah reported that the Prophet said: “Whoever breaks his fast during Ramadan due to forgetfulness is not to make up the day later or to perform any expiation.” This is related by ad-Daraqutni, al-Baihaqi, and al-Hakim, who says that it is sahih according to Muslim’s criterion. Ibn Hajr says that its chain is sahih.
Ibn ‘Abbas reported that the Prophet said: “Allah will not hold anyone of this nation responsible for what is done in error, forgetfulness or under coercion.” This is recounted by Ibn Majah, at-Tabarani, and al-Hakim.