Ayesha reported,

The Messenger of Allah ﷺ said, "When Allah wills good for a leader, He grants him a truthful minister who reminds him when he forgets and assists him when he remembers. But when Allah wills otherwise for him, He grants him an evil minister who does not remind him when he forgets and does not assist him when he remembers."

Azami 6718

Sahih

عن عائشة قالت

قال رسول الله ﷺ: إذا أراد الله بالأم خيرا جعل له وزير صدق، إن نسي ذكره، وإن ذكر أعانه، وإذا أراد الله به غير ذلك جعل له وزير سوء، إن نسي لم يذكره، وإن ذكر لم يعنه.

الأعظمي 6718صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Judgeship
Chapter
Conduct of the judge
Section
Whoever is appointed to judge without requesting it
Numbering
Jami al-Kamil 6718 (2nd edition)
Azami 6718