The Messenger of Allah ﷺ forbade continuous fasting without breaking it. A man from among the Muslims said, "But you, Messenger of Allah, fast continuously."The Messenger of Allah ﷺ 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 continuous fasting, he fasted with them one day, then another day, then they sighted the crescent moon. He said, "Had the crescent been delayed, I would have continued with you longer," as though punishing them for their refusal to stop.
حدثني حرملة بن يحيى أخبرنا ابن وهب أخبرني يونس عن ابن شهاب حدثني أبو سلمة بن عبد الرحمن أن
نهى رسول الله ﷺ عن الوصال فقال رجل من المسلمين فإنك يا رسول الله تواصل قال رسول الله ﷺ وأيكم مثلي إني أبيت يطعمني ربي ويسقيني فلما أبوا أن ينتهوا عن الوصال واصل بهم يوما ثم يوما ثم رأوا الهلال فقال لو تأخر الهلال لزدتكم كالمنكل لهم حين أبوا أن ينتهوا