Sunan an-Nasa'i #4203
The Book of al-Bay'ah 39:55
It was narrated that Abu Ayyub said;"I heard the Messenger of Allah say:
'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.