Abdul-Rahman bin Samura reported,

The Prophet ﷺ said to me, "Abdul-Rahman bin Samura, do not ask for a position of authority, for if you are given it after asking, you will be left to handle it on your own, but if you are given it without asking, you will be helped in it. And if you swear an oath and then see something better than it, expiate for your oath and do what is better."

Bukhari 7146

Sahih

حدثنا حجاج بن منهال حدثنا جرير بن حازم عن الحسن

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

قال لي النبي ﷺ يا عبد الرحمن بن سمرة لا تسأل الإمارة فإنك إن أعطيتها عن مسألة وكلت إليها وإن أعطيتها عن غير مسألة أعنت عليها وإذا حلفت على يمين فرأيت غيرها خيرا منها فكفر عن يمينك وأت الذي هو خير

البخاري 7146صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Rulings
Chapter
Those who do not ask for leadership, Allah will help them
Numbering
Darussalam 7146
Bukhari 7146