Abu Qatadah (RA) reported: As we were sitting in the mosque, the Messenger of Allah (ﷺ) came to us, and the rest of the hadith is the same except that he made no mention that he led people in this prayer.
Hadith ReferenceSahih Muslim / The Book of Mosques and Places of Prayer / Hadith: 543