In the name of Allah, Most Gracious, Most Merciful.
Narrated Abdul-Rahman ibn Samorah (May Allah be satisfied with him); ‘The Prophet (May Allah exalt his mention and protect him from imperfection) said: “O Abdul-Rahman ibn Samorah! Do not seek to be a ruler, because if you are given authority on asking 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 what you intended; then do the best action and make expiation for your oath.” (Bukhari).
Riyaadiss-Saliheen (The Meadows of the Righteous) (Abridged)
By Imam An Nawawi Vol. (2)
Publisher: Dar Al-Manarah
Chapiter 292, Page 1114, Number 971