صحيح البخاري Sahih Bukhari كتاب الصوم The Book of As-Saum (The Fasting).
بَابُ الصَّائِمِ إِذَا أَكَلَ أَوْ شَرِبَ نَاسِيًا:

(26) Chapter. If a person observing Saum (fast) ate or drank forgetfully (should he observe Saum another day in lieu of that day)?

1 hadith
Hadith 1933
حَدَّثَنَا عَبْدَانُ ، أَخْبَرَنَا يَزِيدُ بْنُ زُرَيْعٍ ، حَدَّثَنَا هِشَامٌ ، حَدَّثَنَا ابْنُ سِيرِينَ ، عَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ ، عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، قَالَ : " إِذَا نَسِيَ فَأَكَلَ وَشَرِبَ ، فَلْيُتِمَّ صَوْمَهُ ، فَإِنَّمَا أَطْعَمَهُ اللَّهُ وَسَقَاهُ " .
Narrated Abu Huraira: The Prophet said, "If somebody eats or drinks forgetfully then he should complete his fast, for what he has eaten or drunk, has been given to him by Allah."
Hadith Reference Sahih Bukhari / The Book of As-Saum (The Fasting). / Hadith: 1933
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة