Jami` at-Tirmidhi, Book 8, Hadith 40 (Tirmidhi 721)

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."