Abu Hurairah reported,

The Messenger of Allah ﷺ forbade continuous fasting without breaking the fast. A man from the Muslims said to him, "But you yourself fast continuously, Messenger of Allah."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 the continuous fast, he continued fasting with them one day, then another day, then they saw the crescent moon. He said, "Had it been delayed, I would have made you continue further," as a rebuke to them for refusing to desist.

Bukhari 1965

Sahih

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

أن أبا هريرة رضي الله عنه قال

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

البخاري 1965صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Fasting
Chapter
Punishment for one who excessively practices wisal
Numbering
Darussalam 1965
Bukhari 1965