Hadith 72

Sahih Bukhari

Book 9: Times of the Prayers

Chapter 37

One who forgets a Salat (prayer) should offer it when he remembers it, and should not repeat anything except that particular prayer

باب مَنْ نَسِيَ صَلاَةً فَلْيُصَلِّ إِذَا ذَكَرَهَا وَلاَ يُعِيدُ إِلاَّ تِلْكَ الصَّلاَةَ

Ibrahim said: If one missed unintentionally one prayer 20 years ago then he should offer only that Salat (prayer). ​​
وَقَالَ إِبْرَاهِيمُ مَنْ تَرَكَ صَلاَةً وَاحِدَةً عِشْرِينَ سَنَةً لَمْ يُعِدْ إِلاَّ تِلْكَ الصَّلاَةَ الْوَاحِدَةَ.
Sahih al-Bukhari 597
حَدَّثَنَا أَبُو نُعَيْمٍ، وَمُوسَى بْنُ إِسْمَاعِيلَ، قَالاَ حَدَّثَنَا هَمَّامٌ، عَنْ قَتَادَةَ، عَنْ أَنَسٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏"‏ مَنْ نَسِيَ صَلاَةً فَلْيُصَلِّ إِذَا ذَكَرَهَا، لاَ كَفَّارَةَ لَهَا إِلاَّ ذَلِكَ ‏"‏‏.‏ ‏{‏وَأَقِمِ الصَّلاَةَ لِذِكْرِي‏}‏ قَالَ مُوسَى قَالَ هَمَّامٌ سَمِعْتُهُ يَقُولُ بَعْدُ ‏{‏وَأَقِمِ الصَّلاَةَ لِذِكْرِي‏}‏‏.‏وَقَالَ حَبَّانُ حَدَّثَنَا هَمَّامٌ، حَدَّثَنَا قَتَادَةُ، حَدَّثَنَا أَنَسٌ، عَنِ النَّبِيِّ صلى الله عليه وسلم نَحْوَهُ‏.‏
Anas:

The Prophet (ﷺ) said, "If anyone forgets a prayer he should pray that prayer when he remembers it. There is no expiation except to pray the same." Then he recited: "Establish prayer for My (i.e. Allah's) remembrance." (20.14).
Quran References: