ENOfficial
Abu Hurairah narrated that the Messenger of Allah (ﷺ) said: "Whoever eats or drinks forgetfully, then he has not broken (the fast), for it was only a provision that Allah provided for him."
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا أَبُو سَعِيدٍ الأَشَجُّ، حَدَّثَنَا أَبُو خَالِدٍ الأَحْمَرُ، عَنْ حَجَّاجِ بْنِ أَرْطَاةَ، عَنْ قَتَادَةَ، عَنِ ابْنِ سِيرِينَ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " مَنْ أَكَلَ أَوْ شَرِبَ نَاسِيًا فَلاَ يُفْطِرْ فَإِنَّمَا هُوَ رِزْقٌ رَزَقَهُ اللَّهُ " .
sunnah.com