Sayyiduna Abu Hurayrah (may Allah be pleased with him) narrates from the Messenger of Allah (peace and blessings be upon him) that he (peace and blessings be upon him) said: "There is no prophet or governor but he has two advisers: one commands him to good and forbids him from evil, and the other spares no effort to corrupt him. Whoever is protected from their evil has been protected, and he is with whichever of the two prevails over him."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب آداب القاضي / 20317