It was narrated that Ibn 'Abbas (رضي الله عنه) said: Dimad al-Azdi came to Makkah and saw the Messenger of Allah (ﷺ), and some young boys were following him (Dimad). He said:
O Muhammad, I am suffering from possession. The Messenger of Allah (ﷺ) said: “Praise be to Allah, we seek His help and forgiveness, and we seek refuge with Allah from the evil of our own selves. Whomsoever Allah guides, none can send astray and whomsoever He sends astray, none can guide. I bear witness that there is no god but Allah alone, with no partner or associate, and I bear witness that Muhammad is His slave and Messenger.” He said: Repeat these words to me. Then he said: I have heard poetry, geomancy and sorcery, but I have never heard anything like these words. They are so eloquent that they are like the middle of the sea (in beauty). And I bear witness that there is no god but Allah, and I bear witness that Muhammad is His slave and Messenger. He became Muslim, and the Messenger of Allah (ﷺ) said when he became Muslim: "On your behalf and on behalf of your people?” He said: Yes, on my behalf and on behalf of my people. Then after that, an expedition of the Prophet's Companions passed by his people, and some of them took something from them, a vessel or something else. They said: This is from Dimad's people, give it back. So they gave it back.