Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) narrated from the Prophet (peace and blessings be upon him) concerning a person who forgets to offer the prayer. The Prophet (peace and blessings be upon him) said: "He should offer it when he remembers it."
Abu Ya'la and al-Tabarani in al-Awsat recorded it, and its narrators are the narrators of the Sahih. It is in the Sunan with the wording: "Whoever sleeps without offering the witr or forgets to offer it."
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الصلاة / 1802
Hadith Gradingمحدثین:إسنادہ صحیح۔
Hadith Takhrij«أخرجه المعجم الأوسط للطبراني برقم: 8195، وأخرجه سنن الترمذي برقم: 465، وأخرجه سنن ابن ماجه برقم: 1188، وأخرجه مسند أحمد برقم: 10871، وأخرجه المستدرك على الصحيحين برقم: 1168»