Mishkat
al-Masabih
مشكاة المصابيح
Prayer
كتاب الصلاة
Chapter 21a: Forgetfulness - Section 1
باب السهو - الفصل الأول
Mishkat al-Masabih 1016
‘Abdallah b. Mas'ud said that Allah's Messenger ﷺ prayed five rak'as in the noon prayer and was asked whether the prayer had been extended. He asked what they meant by that, and when they told him he had prayed five rak'as he made two prostrations after having given the salutation. In a version he said, “I am only a human being like you, foigetting just as you do; so when I forget remind me, and when any of you is in doubt about his prayer he should aim at what is correct and complete his prayer in that respect, then give the salutation and afterwards make two prostrations.” (Bukhari and Muslim.)
وَعَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ: أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ صَلَّى الظُّهْرَ خَمْسًا فَقِيلَ لَهُ: أَزِيدَ فِي الصَّلَاةِ؟ فَقَالَ: «وَمَا ذَاكَ؟» قَالُوا: صَلَّيْتَ خَمْسًا. فَسَجَدَ سَجْدَتَيْنِ بَعْدَمَا سَلَّمَ. وَفِي رِوَايَةٍ: قَالَ: «إِنَّمَا أَنَا بَشَرٌ مِثْلُكُمْ أَنْسَى كَمَا تَنْسَوْنَ فَإِذَا نَسِيتُ فَذَكِّرُونِي وَإِذَا شَكَّ أَحَدُكُمْ فِي صَلَاتِهِ فَلْيَتَحَرَّ الصَّوَابَ فَلْيُتِمَّ عَلَيْهِ ثُمَّ لِيُسَلِّمْ ثمَّ يسْجد سَجْدَتَيْنِ»
In-book reference: Mishkat al-Masabih Book 4 Chapter 21a Hadith 1