Abdul-Rahman bin Samura reported,

The Messenger of Allah ﷺ said, "Abdul-Rahman, do not ask for a position of authority. If it is given to you because you asked for it, you will be left to handle it on your own. But if it is given to you without your asking, you will be helped in carrying it out. And if you take an oath and then see that something else is better, do that which is better and make expiation for your oath."

Tirmidhi 1529

Sahih

حدثنا محمد بن عبد الأعلى الصنعاني حدثنا المعتمر بن سليمان عن يونس هو ابن عبيد حدثنا الحسن

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

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

الترمذي 1529صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Vows and oaths
Chapter
Whoever swore an oath then saw something better than it
Numbering
Darussalam 1529
Tirmidhi 1529