Yahya b. Hashim quoted Yunus b. Abu Ishaq who, on his father’s authority, reported God’s Messenger as saying, “As you are so will you have rulers put over you.”
Baihaqi transmitted in Shuab al iman. This tradition has a broken isnad and that its transmission is weak.
Ibn ‘Umar reported the Prophet as saying, “The sultan is God’s shade on the earth to which each one of His servants who is wronged repairs. When he is just he will have a reward, and it is the duty of the common people to be grateful; but when he acts tyrannically the burden rests on him, and it is the duty of the common people to show endurance.”
Mu'awiya reported God’s Messenger as saying, “If you are put in a position of authority, Mu'awiya, fear God and act justly.” He said that he kept thinking he would be afflicted by a governorship in accordance with what the Prophet had said till it actually came true.
Ahmad. Baihaqi transmitted Mu‘awiya’s tradition in Dalail an-nubuwa.