It is narrated from Sayyiduna Ali (may Allah be pleased with him) that he said: "When the Messenger of Allah (peace and blessings be upon him) reached the morning at Badr, (it became known that) he (peace and blessings be upon him) had kept that entire night alive by staying awake (in worship and devotion), while he (peace and blessings be upon him) was in a state of travel at that time."
Imam Abu Ya'la recorded this hadith in his Musnad, and its narrators are thiqat (trustworthy).
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب النوافل / 609
Hadith Gradingمحدثین:إسناده حسن
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :إسناده حسن لغيره. » «أخرجه ابن حبان فى «صحيحه» برقم: 4759، وأورده ابن حجر فى "المطالب العالية"، 609»