It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "There is not one of you except that a companion from among the devils has been assigned to him." The Companions said: "And you too, O Messenger of Allah?" He (peace and blessings be upon him) said: "Yes, but Allah helped me against him, so he submitted."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12566