كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ
5  
The Book of Mosques and Places of Prayer
(49)
Chapter: The virtue of offering the obligatory prayers in congregation, the virtue of waiting for prayer and taking many steps towards the masjid, the virtue of walking to the masjid
(49)
باب فَضْلِ صَلاَةِ الْجَمَاعَةِ وَانْتِظَارِ الصَّلاَةِ ‏‏
Sahih Muslim 649 l

A hadith like this has been narrated by Hammam b. Munabbih on the authority of Abu Huraira.

وَحَدَّثَنَا مُحَمَّدُ بْنُ رَافِعٍ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، حَدَّثَنَا مَعْمَرٌ، عَنْ هَمَّامِ بْنِ مُنَبِّهٍ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم بِنَحْوِ هَذَا ‏.‏
Reference : Sahih Muslim 649l
In-book reference : Book 5, Hadith 345
USC-MSA web (English) reference : Book 4, Hadith 1400
  (deprecated numbering scheme)