Sahih Muslim 651
Sahih Muslim · Book 5: The Book of Mosques and Places of Prayer · The virtue of prayer in congregation, and clarifying the stern warning against staying away from it, and that it is fard kifayah
وَحَدَّثَنَا زُهَيْرُ بْنُ حَرْبٍ ، وَأَبُو كُرَيْبٍ وَإِسْحَاقُ بْنُ إِبْرَاهِيمَ عَنْ وَكِيعٍ ، عَنْ جَعْفَرِ بْنِ بُرْقَانَ ، عَنْ يَزِيدَ بْنِ الأَصَمِّ ، عَنْ أَبِي هُرَيْرَةَ ، عَنِ النَّبِيِّ صلى الله عليه وسلم . بِنَحْوِهِ .
A hadith like this has been narrated by Abu Huraira.