Sahih Muslim, Book 6, Hadith 333 (Muslim 1888)

Ubayy b. Ka'b reported that he was sitting in a mosque that a person entered it and he observed prayer, and made recitation, the rest of the hadith is the same.