22. Forgetfulness in Prayer

٢٢۔ كتاب السهو

22.3 If one finishes his Salat wit Taslim after offering two or three Rak'a (by mistake)

٢٢۔٣ باب إِذَا سَلَّمَ فِي رَكْعَتَيْنِ أَوْ ثَلاَثٍ فَسَجَدَ سَجْدَتَيْنِ مِثْلَ سُجُودِ الصَّلاَةِ أَوْ أَطْوَلَ

bukhari:1227Ādam > Shuʿbah > Saʿd b. Ibrāhīm > Abū Salamah > Abū Hurayrah

The Prophet ﷺ led us in the ʿAsr or the Zuhr prayer and finished it with Taslim. Dhul-Yadain said to him, "O Messenger of Allah ﷺ! Has the prayer been reduced?" The Prophet ﷺ asked his companions in the affirmative. So Messenger of Allah ﷺ I offered two more rakʿat and then performed two prostrations (of Sahu). Saʿd said, "I saw that 'Urwa bin Az-Zubair had offered two rakʿat in the Maghrib prayer and finished it with Taslim. He then talked (and when he was informed about it) he completed the rest of his prayer and performed two prostrations, and said, 'The Prophet ﷺ prayed like this.' "  

البخاري:١٢٢٧حَدَّثَنَا آدَمُ حَدَّثَنَا شُعْبَةُ عَنْ سَعْدِ بْنِ إِبْرَاهِيمَ عَنْ أَبِي سَلَمَةَ عَنْ أَبِي هُرَيْرَةَ ؓ قَالَ

صَلَّى بِنَا النَّبِيُّ ﷺ الظُّهْرَ أَوِ الْعَصْرَ فَسَلَّمَ فَقَالَ لَهُ ذُو الْيَدَيْنِ الصَّلاَةُ يَا رَسُولَ اللَّهَ أَنَقَصَتْ فَقَالَ النَّبِيُّ ﷺ لأَصْحَابِهِ أَحَقٌّ مَا يَقُولُ قَالُوا نَعَمْ فَصَلَّى رَكْعَتَيْنِ أُخْرَيَيْنِ ثُمَّ سَجَدَ سَجْدَتَيْنِ قَالَ سَعْدٌ وَرَأَيْتُ عُرْوَةَ بْنَ الزُّبَيْرِ صَلَّى مِنَ الْمَغْرِبِ رَكْعَتَيْنِ فَسَلَّمَ وَتَكَلَّمَ ثُمَّ صَلَّى مَا بَقِيَ وَسَجَدَ سَجْدَتَيْنِ وَقَالَ هَكَذَا فَعَلَ النَّبِيُّ ﷺ