Hadith 1972
عَنِ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُ أَنَّهُ قَالَ لَهُ عُمَرُ: يَا غُلَامُ! هَلْ سَمِعْتَ مِنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ أَوْ مِنْ أَحَدٍ مِنْ أَصْحَابِهِ إِذَا شَكَّ الرَّجُلُ فِي صَلَاتِهِ مَاذَا يَصْنَعُ؟ قَالَ: فَبَيْنَمَا هُوَ كَذَلِكَ إِذْ أَقْبَلَ عَبْدُ الرَّحْمَنِ بْنُ عَوْفٍ فَقَالَ: فِيمَ أَنْتُمَا؟ فَقَالَ عُمَرُ: سَأَلْتُ هَٰذَا الْغُلَامَ هَلْ سَمِعْتَ مِنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ أَوْ أَحَدٍ مِنْ أَصْحَابِهِ إِذَا شَكَّ الرَّجُلُ فِي صَلَاتِهِ مَاذَا يَصْنَعُ؟ فَقَالَ عَبْدُ الرَّحْمَنِ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ يَقُولُ: ((إِذَا شَكَّ أَحَدُكُمْ فِي صَلَاتِهِ فَلَمْ يَدْرِ أَوَاحِدَةً صَلَّى أَمْ ثِنْتَيْنِ فَلْيَجْعَلْهَا وَاحِدَةً، وَإِذَا لَمْ يَدْرِ ثِنْتَيْنِ صَلَّى أَمْ ثَلَاثًا فَلْيَجْعَلْهَا ثِنْتَيْنِ، وَإِذَا لَمْ يَدْرِ أَثَلَاثًا صَلَّى أَمْ أَرْبَعًا فَلْيَجْعَلْهَا ثَلَاثًا، ثُمَّ يَسْجُدُ إِذَا فَرَغَ مِنْ صَلَاتِهِ وَهُوَ جَالِسٌ قَبْلَ أَنْ يُسَلِّمَ سَجْدَتَيْ سَهْوٍ))
It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with him) that Sayyiduna Umar (may Allah be pleased with him) said to him: O boy! Have you heard any hadith from the Messenger of Allah (peace and blessings be upon him) or from any of his companions regarding what a person should do if he has doubt in his prayer? While this conversation was taking place, Sayyiduna Abdur Rahman bin Awf (may Allah be pleased with him) arrived and asked: What are you discussing? Sayyiduna Umar (may Allah be pleased with him) said: I have asked this boy whether he has heard any such hadith from the Messenger of Allah (peace and blessings be upon him) or from any companion, that when a person has doubt in his prayer, what should he do? Upon hearing this, Sayyiduna Abdur Rahman (may Allah be pleased with him) said: I heard the Messenger of Allah (peace and blessings be upon him) say: When any of you has doubt in his prayer and does not know whether he has prayed one rak‘ah or two, he should consider it as one rak‘ah; if he does not know whether he has prayed two rak‘ahs or three, he should consider them as two; and if he does not know whether he has prayed three rak‘ahs or four, he should consider them as three. Then, when he is about to finish the prayer, he should perform two prostrations while sitting, before the salam.
Under this chapter, the following sub-chapters and hadiths have been mentioned.
Hadith Reference الفتح الربانی / أبواب الأذ كار الواردة عقب الصلاة / 1972