3. Ṣalāh (Ritual Prayer)
٣۔ كتاب الصلاة
Yahya related to me from Malik from Zayd ibn Aslam from Ata ibn Yasar that the Messenger of Allah ﷺ said, "If you are uncertain in the prayer and do not know whether you have prayed three or four rakas, then pray a raka and make two prostrations from the sitting position before the taslim. If the raka that you prayed was the fifth, then you make it even by these two sajdas, and if it was the fourth, then the two prostrations spite Shaytan."
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ إِذَا شَكَّ أَحَدُكُمْ فِي صَلاَتِهِ فَلَمْ يَدْرِ كَمْ صَلَّى أَثَلاَثًا أَمْ أَرْبَعًا فَلْيُصَلِّي رَكْعَةً وَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ قَبْلَ التَّسْلِيمِ فَإِنْ كَانَتِ الرَّكْعَةُ الَّتِي صَلَّى خَامِسَةً شَفَعَهَا بِهَاتَيْنِ السَّجْدَتَيْنِ وَإِنْ كَانَتْ رَابِعَةً فَالسَّجْدَتَانِ تَرْغِيمٌ لِلشَّيْطَانِ
Yahya related to me from Malik from Umar ibn Muhammad ibn Zayd from Salim ibn Abdullah that Abdullah ibn Umar used to say, "If you are uncertain in the prayer, estimate what you think you have forgotten of the prayer and repeat it, then do the two sajdas of forgetfulness from the sitting position."
أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ كَانَ يَقُولُ إِذَا شَكَّ أَحَدُكُمْ فِي صَلاَتِهِ فَلْيَتَوَخَّ الَّذِي يَظُنُّ أَنَّهُ نَسِيَ مِنْ صَلاَتِهِ فَلْيُصَلِّهِ ثُمَّ لِيَسْجُدْ سَجْدَتَىِ السَّهْوِ وَهُوَ جَالِسٌ
Yahya related to me from Malik from Afif ibn Amr as-Sahmi that Ata ibn Yasar said, "I asked Abdullah ibn Amr ibn al-As and Kab al Ahbar about someone who was uncertain in his prayer, and did not know whether he had prayed three or four rakas. Both of them said, 'He should pray another raka and then do two sajdas from the sitting position.' "
عَنِ الَّذِي يَشُكُّ فِي صَلاَتِهِ فَلاَ يَدْرِي كَمْ صَلَّى أَثَلاَثًا أَمْ أَرْبَعًا فَكِلاَهُمَا قَالَ لِيُصَلِّي رَكْعَةً أُخْرَى ثُمَّ لِيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ
Yahya related to me from Malik from Nafi that Abdullah ibn Umar, when questioned about forgetfulness in the prayer, said, "If you think that you have forgotten part of the prayer, then pray it."
أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ كَانَ إِذَا سُئِلَ عَنِ النِّسْيَانِ فِي الصَّلاَةِ قَالَ لِيَتَوَخَّ أَحَدُكُمُ الَّذِي يَظُنُّ أَنَّهُ نَسِيَ مِنْ صَلاَتِهِ فَلْيُصَلِّهِ