كتاب الإمارة
33
The Book on Government
(1)
Chapter: The people follow the Quraish and the Caliphate belongs to the Quraish
(1)
باب النَّاسُ تَبَعٌ لِقُرَيْشٍ وَالْخِلاَفَةُ فِي قُرَيْشٍ ‏‏
Sahih Muslim 1819

It has been narrated on the authority of Jabir b. 'Abdullah that the Messenger of Allah (ﷺ) said:

People are the followers of Quraish in good as well as evil (i. e. in the customs of Islamic as well as pre-Islamic times).
وَحَدَّثَنِي يَحْيَى بْنُ حَبِيبٍ الْحَارِثِيُّ، حَدَّثَنَا رَوْحٌ، حَدَّثَنَا ابْنُ جُرَيْجٍ، حَدَّثَنِي أَبُو الزُّبَيْرِ أَنَّهُ سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ، يَقُولُ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏ "‏ النَّاسُ تَبَعٌ لِقُرَيْشٍ فِي الْخَيْرِ وَالشَّرِّ ‏"‏ ‏.‏
Reference : Sahih Muslim 1819
In-book reference : Book 33, Hadith 3
USC-MSA web (English) reference : Book 20, Hadith 4475
  (deprecated numbering scheme)