IBNHIBBAN 4480:
from ʿAbd al-Raḥman b. Samurah —
[Machine] "The Prophet ﷺ said to him, 'O Abdur-Rahman, do not ask for leadership, for if you are given it as a result of your asking, you will be left alone to deal with it, but if you are given it without asking, you will be helped in it. And if you take an oath to do something and later find something else better, then do what is better and make expiation for your oath.'"
ابن حبّان ٤٤٨٠:
عن عبد الرحمن بن سمره —
أَنَّ النَّبِيَّ ﷺ قَالَ لَهُ «يَا عَبْدَ الرَّحْمَنِ لَا تَسْأَلِ الْإِمَارَةَ فَإِنَّكَ إِنْ أُوتِيتَهَا عَنْ مَسْأَلَةٍ وُكِلْتَ إِلَيْهَا وَإِنْ أُوتِيتَهَا عَنْ غَيْرِ مَسْأَلَةٍ أُعِنْتَ عَلَيْهَا وَإِذَا حَلَفْتَ عَلَى يَمِينٍ وَرَأَيْتَ غَيْرَهَا خَيْرًا مِنْهَا فَأْتِ الَّذِي هُوَ خَيْرٌ وَكَفِّرْ عَنْ يَمِينِكِ»