Al-Miqdam b. Ma'dikarib told that God’s Messenger struck him on his shoulders and then said, “You will attain success, Qudaim,* if you die without having been a ruler, a secretary, or a chief.”
Abu Dawud transmitted it.
* This form is used as a diminutive of Miqdam, the diminutive being used as an affectionate form of address.
Abu Sa'id reported God’s Messenger as saying, “The one who will be dearest to God and nearest to Him in station of the day of resurrection will be a just imam, and the one who will be most hateful to God on the day of resurrection and will receive the severest punishment (or as a version has, will be farthest from Him in station) will be a tyrannical imam.”
Tirmidhi transmitted it, saying this is a hasan gharib tradition.
Ibn ‘Abbas reported the Prophet as saying, “He who lives in the desert will become rough, he who follows the chase will become negligent, and he who goes to a ruler will be led astray.”
Ahmad, Tirmidhi and Nasa’i transmitted it. Abu Dawud’s version has, “He who attaches himself to a ruler will be led astray, and the nearer a man comes to a ruler the farther he goes from God.”