It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever appoints a man in charge of a group of people while in that group there is someone more pleasing (and more fit) to Allah Almighty than him, has certainly betrayed Allah Almighty, His Messenger (peace and blessings be upon him) and all the believers."
Imam al-Hakim (may Allah have mercy on him) recorded it by way of Ibn Lahi'ah, from Yazid bin Abi Habib, from Ikrimah (may Allah have mercy on him).
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب الخلافة والإمارة / 2156
Hadith Gradingمحدثین:إسناده ضعيف جدًا
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :إسناده ضعيف جدًا. » «أخرجه المستدرك للحاكم برقم: 7115، وأخرجه السنن الكبرى للبيهقي برقم: 20423»