Bulugh al-Maram
Book 5, Hadith 20
Arabic hadith text
وَعَنْ أَبِي هُرَيْرَةَ - رضى الله عنه - قَالَ: قَالَ رَسُولُ اَللَّهِ - صلى الله عليه وسلم -{ مَنْ نَسِيَ وَهُوَ صَائِمٌ, فَأَكَلَ أَوْ شَرِبَ, فَلْيُتِمَّ صَوْمَهُ, فَإِنَّمَا أَطْعَمَهُ اَللَّهُ وَسَقَاهُ } مُتَّفَقٌ عَلَيْهِ 1 .1 - صحيح. رواه البخاري ( 1933 )، ومسلم ( 1155 )، واللفظ لمسلم.
Translation
Abu Hurayrah reported that the Messenger of Allah said: “Whoever forgets while fasting and eats or drinks, let him complete his fast; Allah has only fed him and given him drink.” The hadith is agreed upon by al-Bukhari and Muslim; the wording is Muslim's. The editor grades it authentic and cites al-Bukhari 1933 and Muslim 1155.