Imam al-Nawawi's introduction to this chapter
قَالَ الله تَعَالَى: ﴿الأَخِلاَّءُ يَوْمَئذٍ بَعْضُهُمْ لِبَعْضٍ عَدُوٌّ إِلاَّ المُتَّقِينَ﴾ [الزخرف: ٦٧].
Allah Almighty said: "Close friends, that Day, will be enemies to one another, except for the righteous." (Surah al-Zukhruf: 67)
وعن أَبي سعيدٍ وأبي هريرة رضي الله عنهم: أنَّ رسولَ الله - صلى الله عليه وسلم - قَالَ: «مَا بَعَثَ اللهُ مِنْ نَبِيٍّ، وَلاَ اسْتَخْلَفَ مِنْ خَليفَةٍ إِلاَّ كَانَتْ لَهُ بِطَانَتَانِ: بِطَانَةٌ تَأمُرُهُ بالمَعْرُوفِ وتَحُضُّهُ عَلَيْهِ، وَبِطَانَةٌ تَأمُرُهُ بالشَّرِّ وَتَحُضُّهُ عَلَيْهِ، وَالمَعْصُومُ مَنْ عَصَمَ اللهُ». رواه البخاري.
It is narrated from Sayyiduna Abu Sa'id and Sayyiduna Abu Hurayrah (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Allah has not sent any prophet, nor appointed any caliph, except that he had two close confidants (advisers): a confidant who commands him to good and urges him towards it, and a confidant who commands him to evil and urges him towards it. And the protected one is the one whom Allah protects."
(Narrated by al-Bukhari)
وعن عائشة رضي الله عنها، قالت: قَالَ رسولُ الله - صلى الله عليه وسلم: «إِذَا أرَادَ اللهُ بِالأَمِيرِ خَيْرًا، جَعَلَ لَهُ وَزِيرَ صدقٍ، إنْ نَسِيَ ذَكَّرَهُ، وَإنْ ذَكَرَ أَعَانَهُ، وَإِذَا أَرَادَ بِهِ غَيْرَ ذَلِكَ جَعَلَ لَهُ وَزِيرَ سُوءٍ، إنْ نَسِيَ لَمْ يُذَكِّرْهُ، وَإنْ ذَكَرَ لَمْ يُعِنْهُ». رواه أَبُو داود بإسنادٍ جيدٍ عَلَى شرط مسلم.
It is narrated from Sayyidah Aishah (may Allah be pleased with her) that she said: The Messenger of Allah (peace and blessings be upon him) said: "When Allah wills good for a commander, He gives him a truthful minister: if he forgets, he reminds him, and if he remembers, he helps him. And when He wills other than that for him, He gives him an evil minister: if he forgets, he does not remind him, and if he remembers, he does not help him."
(Narrated by Abu Dawud with a good (jayyid) chain on the condition of Muslim)