عَلِيُّ بْنُ إِبْرَاهِيمَ عَنْ مُحَمَّدِ بْنِ عِيسَى عَنْ يُونُسَ عَنِ ابْنِ مُسْكَانَ عَنِ ابْنِ أَبِي يَعْفُورٍ قَالَ:
Show clickable narrator chain
سَأَلْتُ أَبَا عَبْدِ اللَّهِ ع عَنِ الرَّجُلِ لَا يَدْرِي رَكْعَتَيْنِ صَلَّى أَمْ أَرْبَعاً قَالَ يَتَشَهَّدُ وَ يُسَلِّمُ ثُمَّ يَقُومُ فَيُصَلِّي رَكْعَتَيْنِ وَ أَرْبَعَ سَجَدَاتٍ يَقْرَأُ فِيهِمَا بِفَاتِحَةِ الْكِتَابِ ثُمَّ يَتَشَهَّدُ وَ يُسَلِّمُ وَ إِنْ كَانَ صَلَّى أَرْبَعاً كَانَتْ هَاتَانِ نَافِلَةً وَ إِنْ كَانَ صَلَّى رَكْعَتَيْنِ كَانَتْ هَاتَانِ تَمَامَ الْأَرْبَعِ وَ إِنْ تَكَلَّمَ فَلْيَسْجُدْ سَجْدَتَيِ السَّهْوِ.
Read English translationHide English translationMuhammad Sarwar — attributed by Thaqalayn
4. Ali ibn Ibrahim has narrated from Muhammad ibn ’Isma‘il from Yunus from ibn Muskan from ibn abu Ya‘fur who has said the following: “I once asked abu ‘Abd Allah (a.s.), about a man who does not know if he has performed two Rak‘at or four. He (the Imam) said, ‘He says Tashahhud (testimonies of belief) and the phrase of offering greeting of peace, then stands up to perform two Rak‘at and four Sujud (prostrations) in which he reads al-Fatihah al-Kitab, thereafter says Tashahhud (testimonies of belief) and the phrase of offering greeting of peace. If he has, in fact, performed four Rak‘at, the two Rak‘at are optional; but if they were two Rak‘at, then these two Rak‘at complete the four, and if he has spoken something other than what is part of Salah (prayer) he performs two Sajdah (prostrations) because of mistake.’”
Translation: Muhammad Sarwar — attributed by Thaqalayn·The Arabic above is the original.
Hadith gradings
1- صحيحAllamah Baqir al-MajlisiMirʾāt al-ʿUqūl fī Sharḥ Akhbār Āl al-Rasūl (15/195)