Abu Ayub reported,

I heard the Messenger of Allah ﷺ say, "No prophet was ever sent, nor any successor appointed after him, without having two inner circles of advisors. One circle commands him to do good and forbids him from evil, while the other spares no effort in corrupting him. Whoever is protected from the evil circle has truly been protected."

Nasai 4208

Sahih

أخبرنا محمد بن عبد الله بن عبد الحكم عن شعيب عن الليث عن عبيد الله بن أبي جعفر عن صفوان عن أبي سلمة

عن أبي أيوب أنه قال

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

النسائي 4208صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Pledge of allegiance
Chapter
Inner circle of the Imam
Numbering
Darussalam 4208
Nasai 4208