Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
nasai-kubra:590Ismāʿīl b. Masʿūd > Khālid / Ibn al-Ḥārith > Hishām > al-Dastuwāʾī > Yaḥyá > Ibn Abū Kathīr > ʿIyāḍ

“One of us prays and he does not know how many (Rak’ah) he has prayed.” He said: “The Messenger of Allah ﷺ said: ‘When anyone of you prays and does not know how many he has prayed, let him perform two prostrations while he is sitting.’” (Using translation from Ibn Mājah 1204)   

الكبرى للنسائي:٥٩٠أَخْبَرَنَا إِسْمَاعِيلُ بْنُ مَسْعُودٍ قَالَ حَدَّثَنَا خَالِدٌ يَعْنِي ابْنَ الْحَارِثِ قَالَ حَدَّثَنَا هِشَامٌ هُوَ الدَّسْتُوَائِيُّ عَنْ يَحْيَى هُوَ ابْنُ أَبِي كَثِيرٍ عَنْ عِيَاضٍ قَالَ

سَأَلْتُ أَبَا سَعِيدٍ الْخُدْرِيِّ قُلْتُ يُصَلِّي أَحَدُنَا فَلَا يَدْرِي كَمْ صَلَّى؟ قَالَ قَالَ رَسُولُ اللهِ ﷺ «إِذَا صَلَّى أَحَدُكُمْ فَلَمْ يَدْرِ كَمْ صَلَّى فَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ»  


See similar narrations below:

Collected by Tirmidhī, Ibn Mājah, Aḥmad
tirmidhi:396Aḥmad b. Manīʿ > Ismāʿīl b. Ibrāhīm > Hishām al-Dastawāʾī > Yaḥyá b. Abū Kathīr > ʿIyāḍ / Ibn Hilāl

"I said to Abu Sa'eed: 'One of us performs Salat and we do not know how (much) we prayed.' So he said: 'Messenger of Allah (S) said: "When one of you performs Salat and he does now know how (much) he prayed then let him perform two prostrations while he is sitting."  

الترمذي:٣٩٦حَدَّثَنَا أَحْمَدُ بْنُ مَنِيعٍ حَدَّثَنَا إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ حَدَّثَنَا هِشَامٌ الدَّسْتَوَائِيُّ عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ عَنْ عِيَاضٍ يَعْنِي ابْنَ هِلاَلٍ قَالَ

قُلْتُ لأَبِي سَعِيدٍ أَحَدُنَا يُصَلِّي فَلاَ يَدْرِي كَيْفَ صَلَّى فَقَالَ قَالَ رَسُولُ اللَّهِ ﷺ إِذَا صَلَّى أَحَدُكُمْ فَلَمْ يَدْرِ كَيْفَ صَلَّى فَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ قَالَ وَفِي الْبَابِ عَنْ عُثْمَانَ وَابْنِ مَسْعُودٍ وَعَائِشَةَ وَأَبِي هُرَيْرَةَ  

قَالَ أَبُو عِيسَى حَدِيثُ أَبِي سَعِيدٍ حَدِيثٌ حَسَنٌ وَقَدْ رُوِيَ هَذَا الْحَدِيثُ عَنْ أَبِي سَعِيدٍ مِنْ غَيْرِ هَذَا الْوَجْهِ وَقَدْ رُوِيَ عَنِ النَّبِيِّ ﷺ أَنَّهُ قَالَ إِذَا شَكَّ أَحَدُكُمْ فِي الْوَاحِدَةِ وَالثِّنْتَيْنِ فَلْيَجْعَلْهُمَا وَاحِدَةً وَإِذَا شَكَّ فِي الثِّنْتَيْنِ وَالثَّلاَثِ فَلْيَجْعَلْهُمَا ثِنْتَيْنِ وَيَسْجُدْ فِي ذَلِكَ سَجْدَتَيْنِ قَبْلَ أَنْ يُسَلِّمَ وَالْعَمَلُ عَلَى هَذَا عِنْدَ أَصْحَابِنَا وَقَالَ بَعْضُ أَهْلِ الْعِلْمِ إِذَا شَكَّ فِي صَلاَتِهِ فَلَمْ يَدْرِ كَمْ صَلَّى فَلْيُعِدْ
ibnmajah:1204ʿAmr b. Rāfiʿ > Ismāʿīl Ibn ʿUlayyah > Hishām > Yaḥyá > ʿIyāḍ

“One of us prays and he does not know how many (Rak’ah) he has prayed.” He said: “The Messenger of Allah ﷺ said: ‘When anyone of you prays and does not know how many he has prayed, let him perform two prostrations while he is sitting.’”  

ابن ماجة:١٢٠٤حَدَّثَنَا عَمْرُو بْنُ رَافِعٍ حَدَّثَنَا إِسْمَاعِيلُ ابْنُ عُلَيَّةَ عَنْ هِشَامٍ حَدَّثَنِي يَحْيَى حَدَّثَنِي عِيَاضٌ أَنَّهُ سَأَلَ أَبَا سَعِيدٍ الْخُدْرِيَّ فَقَالَ

أَحَدُنَا يُصَلِّي فَلاَ يَدْرِي كَمْ صَلَّى فَقَالَ قَالَ رَسُولُ اللَّهِ ﷺ إِذَا صَلَّى أَحَدُكُمْ فَلَمْ يَدْرِ كَمْ صَلَّى فَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ  

ahmad:11478Yazīd b. Hārūn > Hishām > Yaḥyá > ʿIyāḍ

[Machine] Indeed, one of us may pray without knowing how much he has prayed. So he said, the Messenger of Allah ﷺ said, "If one of you prays and does not know how much he has prayed, then let him perform two prostrations while sitting. And when one of you is approached by Satan and he says, 'You have done something new in your prayer,' then let him say, 'I have not done anything new except that I sensed a smell with my nose or heard a sound with my ear.'"  

أحمد:١١٤٧٨حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ أَنْبَأَنَا هِشَامٌ عَنْ يَحْيَى حَدَّثَنَا عِيَاضٌ أَنَّهُ سَأَلَ أَبَا سَعِيدٍ الْخُدْرِيَّ فَقَالَ

إِنَّ أَحَدَنَا يُصَلِّي فَلَا يَدْرِي كَمْ صَلَّى؟ فَقَالَ قَالَ رَسُولُ اللهِ ﷺ إِذَا صَلَّى أَحَدُكُمْ فَلَمْ يَدْرِ كَمْ صَلَّى فَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ فَإِذَا جَاءَ أَحَدَكُمُ الشَّيْطَانُ فَقَالَ إِنَّكَ قَدْ أَحْدَثْتَ فِي صَلَاتِكَ فَلْيَقُلْ كَذَبْتَ إِلَّا مَا وَجَدَ رِيحًا بِأَنْفِهِ أَوْ سَمِعَ صَوْتًا بِأُذُنِهِ  

ahmad:11082Ismāʿīl > al-Dastuwāʾī > Yaḥyá b. Abū Kathīr > ʿIyāḍ

[Machine] I said to Abu Sa'id al-Khudri, "One of us prays but does not know how much he has prayed." He replied, "The Messenger of Allah ﷺ said, 'If any one of you prays and does not know how much he has prayed, he should perform two prostrations while sitting. And if one of you is unsure whether he has spoken, he should say, 'I have not spoken except what my nose has smelled or my ear has heard.'"  

أحمد:١١٠٨٢حَدَّثَنَا إِسْمَاعِيلُ حَدَّثَنَا الدَّسْتُوَائِيُّ حَدَّثَنِي يَحْيَى بْنُ أَبِي كَثِيرٍ حَدَّثَنَا عِيَاضٌ قَالَ

قُلْتُ لِأَبِي سَعِيدٍ الْخُدْرِيِّ أَحَدُنَا يُصَلِّي فَلَا يَدْرِي كَمْ صَلَّى فَقَالَ قَالَ رَسُولُ اللهِ ﷺ إِذَا صَلَّى أَحَدُكُمْ فَلَمْ يَدْرِ كَمْ صَلَّى فَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ وَإِذَا جَاءَ أَحَدَكُمُ الشَّيْطَانُ فَقَالَ إِنَّكَ قَدْ أَحْدَثْتَ فَلْيَقُلْ كَذَبْتَ إِلَّا مَا وَجَدَ رِيحَهُ بِأَنْفِهِ أَوْ سَمِعَ صَوْتَهُ بِأُذُنِهِ