Anas bin Malik reported,

The Prophet ﷺ said, "Whoever forgets a prayer should pray it as soon as he remembers it. There is no expiation for it other than that." Then he recited, "And establish prayer for My remembrance" [Taha 20:14].Musa said that Hammam said, "I heard him say afterwards, 'And establish prayer for the remembrance.'"Abu Abdullah said that Habban reported, Hammam narrated to us, Qatada narrated to us, Anas narrated to us from the Prophet ﷺ something similar.

Bukhari 597

Sahih

حدثنا أبو نعيم وموسى بن إسماعيل قالا حدثنا همام عن قتادة

عن أنس بن مالك

عن النبي ﷺ قال من نسي صلاة فليصل إذا ذكرها لا كفارة لها إلا ذلك {وأقم الصلاة لذكري} قال موسى قال همام سمعته يقول بعد وأقم الصلاة للذكرى قال أبو عبد الله وقال حبان حدثنا همام حدثنا قتادة حدثنا أنس عن النبي ﷺ نحوه

البخاري 597صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Prayer times
Chapter
Whoever forgets a prayer should pray it when he remembers, and he need only make up that prayer
Numbering
Darussalam 597
Bukhari 597