Hadith 2210

In the narration of Sayyiduna Abu Dharr (may Allah be pleased with him), the Messenger of Allah (peace and blessings be upon him) said: "When a person prays with the Imam until he finishes the prayer, it is written for him as if he stood in prayer for the entire night." And in another narration, it is mentioned that then the Prophet (peace and blessings be upon him) led us in prayer on the third night, and gathered his family and noble wives as well. Then he (peace and blessings be upon him) led such a long prayer that we feared missing out on success. And the companions who prayed with him were reciters and memorizers of the Qur'an. Not all of them were unlettered.
Hadith Reference صحيح ابن خزيمه / 2210
Hadith Takhrij تقدم ۔۔۔