Ayesha reported,

The Messenger of Allah ﷺ came in to me and asked, "Do you have anything to eat?"We would say, "No."He would then say, "I am fasting."So he would continue his fast. Then later something would be given to us as a gift, and he would break his fast.She said, "Sometimes he would fast and then break it."I asked, "How is that?"She replied, "His example in this is like that of a man who goes out with charity. He gives some away and keeps some back."

Ibn Majah 1701

Hasan

حدثنا إسمعيل بن موسى حدثنا شريك عن طلحة بن يحيى عن مجاهد

عن عائشة قالت

دخل علي رسول الله ﷺ فقال هل عندكم شيء فنقول لا فيقول إني صائم فيقيم على صومه ثم يهدى لنا شيء فيفطر قالت وربما صام وأفطر قلت كيف ذا قالت إنما مثل هذا مثل الذي يخرج بصدقة فيعطي بعضا ويمسك بعضا

ابن ماجه 1701حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Fasting
Chapter
Obligation of fasting from the night and the option regarding fasting
Numbering
Darussalam 1701
Ibn Majah 1701