On encouraging the Sultan, qadi and others in authority to adopt a righteous counsellor and warning them against bad company and accepting their advice

Riyad as-Salihin (The Meadows of the Righteous)

by Imam Nawawi

82. Chapter: On encouraging the Sultan, qadi and others in authority to adopt a righteous counsellor and warning them against bad company and accepting their advice

Allah Almighty says, "On that Day the closest friends will be enemies to another - except for the godfearing." (43:67)

678. Abu Sa'id and Abu Hurayra reported that the Messenger of Allah, may Allah bless him and grant him peace, said, "Allah did not send a Prophet nor appoint a khalif without him having two counsellors, one counsellor commanding the right and encouraging it, and one counsellor commanding the wrong and encouraging it. The one protected is the one that Allah protects." [al-Bukhari]

679. 'A'isha said, "The Messenger of Allah, may Allah bless him and grant him peace, said, 'When Allah desires good for the amir, He gives him a truthful wazir. If he forgets, he reminds him. If he remembers, he helps him. If He desires other than that for him, He gives him a bad wazir. If he forgets, he does not remind him, and if he remembers, he does not help him.'" [Abu Dawud]