Anas ibn Malik reported: The Prophet, peace and blessings be upon him, said, “Whoever forgets a prayer should pray it when he remembers. There is no expiation other than this.” Then, the Prophet recited the verse, “Perform prayer for My remembrance.” (20:14)
Source: Ṣaḥīḥ al-Bukhārī 597, Ṣaḥīḥ Muslim 684
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ أَنَسِ بْنِ مَالِكٍ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ مَنْ نَسِيَ صَلَاةً، فَلْيُصَلِّ إِذَا ذَكَرَهَا، لَا كَفَّارَةَ لَهَا إِلَّا ذَلِكَ ثُمَّ تَلَا وَأَقِمِ الصَّلاةَ لِذِكْرِي
597 صحيح البخاري كتاب مواقيت الصلاة باب من نسي صلاة فليصل إذا ذكر ولا يعيد إلا تلك الصلاة
684 صحيح مسلم كتاب المساجد ومواضع الصلاة باب قضاء الصلاة الفائتة واستحباب تعجيل قضائها