It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that when the Messenger of Allah (ﷺ) practiced wisal (continuous fasting), the companions also practiced wisal. This news reached the Messenger of Allah (ﷺ) (it was the end of the month and the new moon was sighted), so he (ﷺ) said: "If this month had been prolonged for me (i.e., if there had been a few more days until Eid), I would have continued wisal in such a way that those who are extreme would have abandoned their extremism. (Did I not say that) I am not like you; my Lord feeds me and gives me drink."
Hadith Referenceالسنن المأثورة / باب ما جاء في النهي عن الوصال في الصيام / 333
Hadith Takhrijصحیح بخاری، الصوم، باب الوصال، رقم : 1961، صحیح مسلم، الصيام، باب النهي عن الوصال في الصوم، رقم : 1104