كتاب الإمارة
33  
The Book on Government
(3)
Chapter: The prohibition of seeking or desiring a position of authority
(3)
باب النَّهْىِ عَنْ طَلَبِ الإِمَارَةِ، وَالْحِرْصِ، عَلَيْهَا ‏‏
Sahih Muslim 1733 c

It has been narrated by Abu Musa who said:

Two of my cousins and I entered the apartment of the Prophet (ﷺ). One of them said: Messenger of Allah, appoint us rulers of some lands that the Almighty and Glorious God has entrusted to thy care. The other also said something similar. He said: We do not appoint to this position one who asks for it nor anyone who is covetous for the same.
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَمُحَمَّدُ بْنُ الْعَلاَءِ، قَالاَ حَدَّثَنَا أَبُو أُسَامَةَ، عَنْ بُرَيْدِ، بْنِ عَبْدِ اللَّهِ عَنْ أَبِي بُرْدَةَ، عَنْ أَبِي مُوسَى، قَالَ دَخَلْتُ عَلَى النَّبِيِّ صلى الله عليه وسلم أَنَا وَرَجُلاَنِ مِنْ بَنِي عَمِّي فَقَالَ أَحَدُ الرَّجُلَيْنِ يَا رَسُولَ اللَّهِ أَمِّرْنَا عَلَى بَعْضِ مَا وَلاَّكَ اللَّهُ عَزَّ وَجَلَّ ‏.‏ وَقَالَ الآخَرُ مِثْلَ ذَلِكَ فَقَالَ ‏ "‏ إِنَّا وَاللَّهِ لاَ نُوَلِّي عَلَى هَذَا الْعَمَلِ أَحَدًا سَأَلَهُ وَلاَ أَحَدًا حَرَصَ عَلَيْهِ ‏"‏ ‏.‏
Reference : Sahih Muslim 1733c
In-book reference : Book 33, Hadith 17
USC-MSA web (English) reference : Book 20, Hadith 4489
  (deprecated numbering scheme)