It is narrated from Imam al-Hasan al-Basri (may Allah have mercy on him) that the Messenger of Allah (peace and blessings be upon him) said to Sayyiduna Abd al-Rahman bin Samurah (may Allah be pleased with him): "Do not ask for leadership (a position of authority), for if you are given it upon asking, you will be left to it (alone); and if you are given it without asking, you will be helped in it. And when you swear an oath about something, then see something else better than it, make expiation for your oath and do that which is better."
Hadith Referenceالمعجم الأوسط / باب الألف / 2565
Hadith Takhrij«أخرجه البيهقي فى «السنن الكبرى» برقم: 20015، وعبد الرزاق فى «مصنفه» برقم: 16033، 20654»