Abdul-Rahman bin Samura reported,

The Prophet ﷺ said, "Abd al-Rahman bin Samura, do not ask for a position of authority. If you are given it after asking, you will be left to handle it on your own, but if you are given it without having asked, you will be aided in it."

Azami 6717

Sahih

عن عبد الرحمن بن سمرة قال

قال النبي ﷺ: يا عبد الرحمن بن سمرة لا تسأل الإمارة، فإنك أن أوتيتها عن مسألة وكلت إليها، وإن أوتيتها من غير مسألة أعنت عليها.

الأعظمي 6717صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Judgeship
Chapter
Conduct of the judge
Section
Whoever is appointed to judge without requesting it
Numbering
Jami al-Kamil 6717 (2nd edition)
Azami 6717