A hadith like this has been narrated by Abu Huraira.

Sahih Muslim Book 5 Hadith 320

Sahih Muslim #651 d

The Book of Mosques and Places of Prayer 5:320

A hadith like this has been narrated by Abu Huraira.

Chapter: The virtue of prayer in congregation, and clarifying the stern warning against staying away from it, and that it is fard kifayah

Grade: Sahih