Sayyiduna Anas (may Allah be pleased with him) narrates this statement of the Prophet (peace and blessings be upon him): "Whoever forgets a prayer, then when he remembers it, he should perform it."
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 1555
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «صحيح أبي داود» (469): ق.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم.