A man reported,

The Messenger of Allah ﷺ forbade cupping and continuous fasting, but he did not declare them strictly unlawful, out of consideration for his companions.It was said to him, "Messenger of Allah, you yourself fast continuously until the predawn hour."He replied, "I fast continuously until the predawn hour, and my Lord feeds me and gives me drink."

Azami 4529

Sahih

عن رجل من أصحاب النبي ﷺ

أن رسول الله ﷺ نهي عن الحجامة والمواصلة. ولم يحرمهما إبقاء على أصحابه، فقيل له: يا رسول الله إنك تواصل إلى السحر. فقال: إني أواصل إلى السحر، وربي يطعمني ويسقيني.

الأعظمي 4529صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Prohibited fasts
Section
Prohibition of continuous fasting
Numbering
Jami al-Kamil 4529 (2nd edition)
Azami 4529