Sahih al-Bukhari, Book 61, Hadith 26 (In-Book)

Narrated Abu Bakra: Al-Aqra' bin Habis said to the Prophet "Nobody gave you the pledge of allegiance but the robbers of the pilgrims (i.e. those who used to rob the pilgrims) from the tribes of Aslam, Ghifar, Muzaina." (Ibn Abi Ya'qub is in doubt whether Al-Aqra' added. 'And Juhaina.') The Prophet said, "Don't you think that the tribes of Aslam, Ghifar, Muzaina (and also perhaps) Juhaina are better than the tribes of Bani Tamim, Bani Amir, Asad, and Ghatafan?" Somebody said, "They were unsuccessful and losers!" The Prophet said, "Yes, by Him in Whose Hands my life is, they (i.e. the former) are better than they (i.e. the latter).

حَدَّثَنِي مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا غُنْدَرٌ، حَدَّثَنَا شُعْبَةُ، عَنْ مُحَمَّدِ بْنِ أَبِي يَعْقُوبَ، قَالَ سَمِعْتُ عَبْدَ الرَّحْمَنِ بْنَ أَبِي بَكْرَةَ، عَنْ أَبِيهِ، أَنَّ الأَقْرَعَ بْنَ حَابِسٍ، قَالَ لِلنَّبِيِّ صلى الله عليه وسلم إِنَّمَا بَايَعَكَ سُرَّاقُ الْحَجِيجِ مِنْ أَسْلَمَ وَغِفَارَ وَمُزَيْنَةَ ـ وَأَحْسِبُهُ وَجُهَيْنَةَ ابْنُ أَبِي يَعْقُوبَ شَكَّ ـ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ أَرَأَيْتَ إِنْ كَانَ أَسْلَمُ وَغِفَارُ وَمُزَيْنَةُ ـ وَأَحْسِبُهُ ـ وَجُهَيْنَةُ خَيْرًا مِنْ بَنِي تَمِيمٍ وَبَنِي عَامِرٍ وَأَسَدٍ وَغَطَفَانَ، خَابُوا وَخَسِرُوا ‏"‏‏.‏ قَالَ نَعَمْ‏.‏ قَالَ ‏"‏ وَالَّذِي نَفْسِي بِيَدِهِ، إِنَّهُمْ لَخَيْرٌ مِنْهُمْ ‏"‏‏.‏

sunnah.com