It is narrated from Sayyiduna Mughirah bin Shu'bah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "There is no one except that a companion (qarin) from among the jinn has been assigned to him." The Companions said: "Even you, O Messenger of Allah?" He (peace and blessings be upon him) said: "Even me, except that Allah helped me against him, so he submitted (became Muslim), and now he commands me to nothing but good."
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 18141