Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:7149Muḥammad b. al-ʿAlāʾ > Abū Usāmah > Burayd > Abū Burdah > Abū Mūsá

Two men from my tribe and I entered upon the Prophet. One of the two men said to the Prophet, "O Messenger of Allah ﷺ! 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."  

البخاري:٧١٤٩حَدَّثَنَا مُحَمَّدُ بْنُ الْعَلاَءِ حَدَّثَنَا أَبُو أُسَامَةَ عَنْ بُرَيْدٍ عَنْ أَبِي بُرْدَةَ عَنْ أَبِي مُوسَى ؓ قَالَ

دَخَلْتُ عَلَى النَّبِيِّ ﷺ أَنَا وَرَجُلاَنِ مِنْ قَوْمِي فَقَالَ أَحَدُ الرَّجُلَيْنِ أَمِّرْنَا يَا رَسُولَ اللَّهِ وَقَالَ الآخَرُ مِثْلَهُ فَقَالَ إِنَّا لاَ نُوَلِّي هَذَا مَنْ سَأَلَهُ وَلاَ مَنْ حَرَصَ عَلَيْهِ  


See similar narrations below:

Collected by Muslim
muslim:1733cAbū Bakr b. Abū Shaybah And Muḥammad b. al-ʿAlāʾ > Abū Usāmah > Burayd b. ʿAbdullāh > Abū Burdah > Abū Mūsá

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.  

مسلم:١٧٣٣cحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ وَمُحَمَّدُ بْنُ الْعَلاَءِ قَالاَ حَدَّثَنَا أَبُو أُسَامَةَ عَنْ بُرَيْدِ بْنِ عَبْدِ اللَّهِ عَنْ أَبِي بُرْدَةَ عَنْ أَبِي مُوسَى قَالَ

دَخَلْتُ عَلَى النَّبِيِّ ﷺ أَنَا وَرَجُلاَنِ مِنْ بَنِي عَمِّي فَقَالَ أَحَدُ الرَّجُلَيْنِ يَا رَسُولَ اللَّهِ أَمِّرْنَا عَلَى بَعْضِ مَا وَلاَّكَ اللَّهُ ﷻ وَقَالَ الآخَرُ مِثْلَ ذَلِكَ فَقَالَ إِنَّا وَاللَّهِ لاَ نُوَلِّي عَلَى هَذَا الْعَمَلِ أَحَدًا سَأَلَهُ وَلاَ أَحَدًا حَرَصَ عَلَيْهِ