Anas bin Malik reported,

The Messenger of Allah ﷺ practiced continuous fasting at the beginning of the month of Ramadan, so a group of the Muslims also fasted continuously. When word of this reached him, he said, "If the month were extended for us, I would continue fasting in such a way that those who go to extremes would abandon their excess. You are not like me," or he said, "I am not like you. I remain through the night with my Lord feeding me and giving me drink."

Muslim 2571

Sahih

حدثنا عاصم بن النضر التيمي حدثنا خالد يعني ابن الحارث حدثنا حميد عن ثابت

عن أنس رضي الله عنه قال

واصل رسول الله ﷺ في أول شهر رمضان فواصل ناس من المسلمين فبلغه ذلك فقال لو مد لنا الشهر لواصلنا وصالا يدع المتعمقون تعمقهم إنكم لستم مثلي أو قال إني لست مثلكم إني أظل يطعمني ربي ويسقيني

مسلم 2571صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Fasting
Chapter
Prohibition of continuous fasting
Numbering
Darussalam 2571
Muslim 2571