The Messenger of Allah ﷺ forbade continuous fasting without breaking it.Someone said to him, "But you yourself fast continuously."He replied, "I spend the night with my Lord giving me food and drink."
حدثنا عفان حدثنا همام حدثنا قتادة
أن رسول الله ﷺ نهى عن الوصال قال فقيل إنك تواصل قال إني أبيت يطعمني ربي ويسقيني
Its chain of transmission is sahih. It was mentioned previously under 11361.