Abu Hurairah reported,

The Prophet ﷺ said, "There is no prophet and no caliph," or he said, "There is no prophet, except that he has two inner circles. One inner circle commands him to do good and forbids him from evil, and another inner circle that spares no effort in corrupting him. Whoever is protected from the evil of the wicked inner circle has truly been protected." He said this three times. "And he belongs to whichever of the two prevails over him."

Ahmad 7887

Sahih

حدثنا مؤمل بن إسماعيل حدثنا حماد بن سلمة حدثنا برد بن سنان عن الزهري عن أبي سلمة

عن أبي هريرة

أن النبي ﷺ قال ما من نبي ولا خليفة أو قال ما من نبي إلا وله بطانتان بطانة تأمره بالمعروف وتنهاه عن المنكر وبطانة لا تألوه خبالا ومن وقي شر بطانة السوء فقد وقي يقولها ثلاثا وهو مع الغالبة عليه منهما

أحمد 7887صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 7887
Ahmad 7887