Abdul-Rahman bin Samura reported,

The Messenger of Allah ﷺ 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 take an oath and then see something better than it, expiate for your oath and do what is better."Abu Ahmad al-Juludi said, Abu Abbas al-Masarjisi narrated to us, Shayban bin Faruq narrated to us this hadith.

Muslim 4281

Sahih

حدثنا شيبان بن فروخ حدثنا جرير بن حازم حدثنا الحسن

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

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

مسلم 4281صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Oaths
Chapter
Recommendation for one who swore an oath then saw something better to do what is better and expiate for his oath
Numbering
Darussalam 4281
Muslim 4281