'No prophet has eve been sent, nor has there been any Khalifah after him, but he has two groups of advisers, a group that tells him to do good and a group that tells him to do evil. Whoever is protected from the evil group, then he is indeed protected. (Using translation from Nasāʾī 4203)
سَمِعْتُ نَبِيَّ اللهِ ﷺ يَقُولُ مَا بُعِثَ مِنْ نَبِيٍّ وَلَا كَانَ بَعْدَهُ خَلِيفَةٌ إِلَّا كَانَ لَهُ بِطَانَتَانِ بِطَانَةٌ تَأْمُرُهُ بِالْمَعْرُوفِ وَتَنْهَاهُ عَنِ الْمُنْكَرِ وَبِطَانَةٌ لَا تَأْلُوهُ خَبَالًا فَمَنْ وُقِيَ بِطَانَةَ السُّوءِ فَقَدْ وُقِيَ