Ash-Shama'il Al-Muhammadiyah, Book 26, Hadith 182 (In-Book)

Ummul Mu'mineen Hazrat Aishah radiyallahu anha says, Rasoolullah sallallahu alaihe wasallam used to come to me and ask if there was any food available. When I would say, "No," he would say, "I have intended to fast." Once when Rasoolullah sallallahu alaihe wasallam came and enquired, I replied, ‘We have received a present.’ Rasoolullah sallallahu alaihe wasallam asked, ‘What is it?’ I replied, ‘Malidah (a type of cake made of dates, ghee, cheese or flour).’ He said, ‘I had made an intention of fasting already.’ He then ate some from it.

حَدَّثَنَا مَحْمُودُ بْنُ غَيْلانَ، قَالَ‏:‏ حَدَّثَنَا بِشْرُ بْنُ السَّرِيِّ، عَنْ سُفْيَانَ، عَنْ طَلْحَةَ بْنِ يَحْيَى، عَنْ عَائِشَةَ بِنْتِ طَلْحَةَ، عَنْ عَائِشَةَ، أُمِّ الْمُؤْمِنِينَ، قَالَتْ‏:‏ كَانَ النَّبِيُّ صلى الله عليه وسلم يَأْتِينِي فَيَقُولُ‏:‏ أَعِنْدَكِ غَدَاءٌ‏؟‏ فَأَقُولُ‏:‏ لا قَالَتْ‏:‏ فَيَقُولُ‏:‏ إِنِّي صَائِمٌ قَالَتْ‏:‏ فَأَتَانِي يَوْمًا، فَقُلْتُ‏:‏ يَا رَسُولَ اللهِ، إِنَّهُ أُهْدِيَتْ لَنَا هَدِيَّةٌ، قَالَ‏:‏ وَمَا هِيَ‏؟‏ قُلْتُ‏:‏ حَيْسٌ، قَالَ‏:‏ أَمَا إِنِّي أَصْبَحْتُ صَائِمًا، قَالَتْ‏:‏ ثُمَّ أَكَلَ‏.‏

also referenced under: Book 25, Hadith 173 (English)