Language:
كتاب الأحكام
93  
Judgments (Ahkaam)
(7)
Chapter: What is disliked regarding the authority of ruling
(7)
باب مَا يُكْرَهُ مِنَ الْحِرْصِ عَلَى الإِمَارَةِ
Sahih al-Bukhari 7149

Narrated Abu Musa:

Two men from my tribe and I entered upon the Prophet. One of the two men said to the Prophet, "O Allah's Messenger (ﷺ)! Appoint me as a governor," and so did the second. The Prophet (ﷺ) said, "We do not assign the authority of ruling to those who ask for it, nor to those who are keen to have it."

حَدَّثَنَا مُحَمَّدُ بْنُ الْعَلاَءِ، حَدَّثَنَا أَبُو أُسَامَةَ، عَنْ بُرَيْدٍ، عَنْ أَبِي بُرْدَةَ، عَنْ أَبِي مُوسَى ـ رضى الله عنه ـ قَالَ دَخَلْتُ عَلَى النَّبِيِّ صلى الله عليه وسلم أَنَا وَرَجُلاَنِ مِنْ قَوْمِي فَقَالَ أَحَدُ الرَّجُلَيْنِ أَمِّرْنَا يَا رَسُولَ اللَّهِ‏.‏ وَقَالَ الآخَرُ مِثْلَهُ‏.‏ فَقَالَ ‏ "‏ إِنَّا لاَ نُوَلِّي هَذَا مَنْ سَأَلَهُ، وَلاَ مَنْ حَرَصَ عَلَيْهِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 7149
In-book reference : Book 93, Hadith 13
USC-MSA web (English) reference : Vol. 9, Book 89, Hadith 263
  (deprecated numbering scheme)