كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ
5  
The Book of Mosques and Places of Prayer
(53)
Chapter: Who is more entitled to lead the prayer
(53)
باب مَنْ أَحَقُّ بِالإِمَامَةِ
Sahih Muslim 674 b

This hadith has been transmitted by Ayyub with the same chain of narrator.

وَحَدَّثَنَا أَبُو الرَّبِيعِ الزَّهْرَانِيُّ، وَخَلَفُ بْنُ هِشَامٍ، قَالاَ حَدَّثَنَا حَمَّادٌ، عَنْ أَيُّوبَ، بِهَذَا الإِسْنَادِ ‏.‏
Reference : Sahih Muslim 674b
In-book reference : Book 5, Hadith 369
USC-MSA web (English) reference : Book 4, Hadith 1424
  (deprecated numbering scheme)