Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him) narrates this statement of the Noble Prophet (peace and blessings of Allah be upon him): "Whenever Allah Almighty sent a prophet and after him appointed anyone as his successor, there were two (angels) with him. One of them commands him to do good and encourages him towards it, and the other commands him to do evil and encourages him towards it. Only the one whom Allah Almighty protects remains protected."
Hadith Referenceصحیح ابن حبان / كتاب التاريخ / 6192
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - انظر ما قبله.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم