Sahih al-Bukhari 6622
Book 83: Oaths and Vows · Hadith 2
Hadith text
Narrated `Abdur-Rahman bin Samura:The Prophet (ﷺ) said, "O `Abdur-Rahman bin Samura! Do not seek to be a ruler, because if you are given authority for it, then you will be held responsible for it, but if you are given it without asking for it, then you will be helped in it (by Allah): and whenever you take an oath to do something and later you find that something else is better than the first, then do the better one and make expiation for your oath
Abdur Rahman bin Samura bataate hain: Nabi (SAW) ne farmaya, 'Aye Abdur Rahman bin Samura! Hukmraan banne ki koshish mat karo, kyunke agar tumhein ye zimmedaari maang kar di jaaye, to tumhein iske liye zimmedaar thehraaya jaayega, magar agar tumhein ye bina maange di jaaye, to tumhein isme (Allah ki taraf se) madad milegi; aur jab bhi tum kisi kaam ke liye qasam khaao aur baad mein tumhein pehle se behtar koi cheez mile, to behtar wali karo aur apni qasam ka kaffara adaa karo.'
Sahih al-Bukhari 6622 · Book 83, Hadith 2