Abu Hurairah reported,

The Messenger of Allah ﷺ forbade continuous fasting without breaking it.They said, "But you yourself fast continuously."He replied, "Which of you is like me? I spend the night with my Lord feeding me and giving me drink."When they refused to stop, he fasted continuously with them for one day, then another day, then they saw the crescent moon. He said, "Had it been delayed, I would have continued with you longer," as if rebuking them.

Bukhari 7242

Sahih

حدثنا أبو اليمان أخبرنا شعيب عن الزهري وقال الليث حدثني عبد الرحمن بن خالد عن ابن شهاب أن سعيد بن المسيب أخبره أن

أبا هريرة قال

نهى رسول الله ﷺ عن الوصال قالوا فإنك تواصل قال أيكم مثلي إني أبيت يطعمني ربي ويسقين فلما أبوا أن ينتهوا واصل بهم يوما ثم يوما ثم رأوا الهلال فقال لو تأخر لزدتكم كالمنكل لهم

البخاري 7242صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Wishing
Chapter
What is permissible of saying "if only"
Numbering
Darussalam 7242
Bukhari 7242