It is narrated from Sayyiduna Ali (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) used to join fasts (wisal) from one pre-dawn (sahar) to the next (that is, he fasted continuously without breaking the fast).
Hadith Referenceالمعجم الكبير للطبراني / العشرة / 184