It is narrated from Sayyiduna Sharik bin Tariq (may Allah be pleased with him) that he said: The Messenger of Allah (peace and blessings be upon him) said: "Each one of you has a devil as a companion." The Companions said: You too, O Messenger of Allah? He (peace and blessings be upon him) said: "I too, except that Allah has helped me against him, so he has submitted (become Muslim)."
Hadith Referenceالمعجم الكبير للطبراني / باب الشين / 7191