Man Lā Yaḥḍuruh al-Faqīh

Hadith 1016
worship
1020 - وَ رَوَى مُحَمَّدُ بْنُ مُسْلِمٍ عَنْ أَبِي جَعْفَرٍ عَلَيْهِ اَلسَّلاَمُ: أَنَّهُ سُئِلَ عَنْ رَجُلٍ دَخَلَ مَعَ اَلْإِمَامِ فِي صَلاَتِهِ وَ قَدْ سَبَقَهُ بِرَكْعَةٍ فَلَمَّا فَرَغَ اَلْإِمَامُ خَرَجَ مَعَ اَلنَّاسِ ثُمَّ ذَكَرَ بَعْدَ ذَلِكَ أَنَّهُ قَدْ فَاتَتْهُ رَكْعَةٌ قَالَ «يُعِيدُ رَكْعَةً وَاحِدَةً.
Hadith.1020 - Muhammad ibn Muslim narrated that Imam Muhammad ibn Ali Al-Baqir (as) was asked about a man who entered the prayer with the Imam and was already behind by one rak'ah. When the Imam completed the prayer and left with the congregation, the man remembered that he had missed one rak'ah. Imam (as) said: "He should repeat one rak'ah."
Source: Shaykh Muḥammad b. ʿAlī al-Ṣaduq