Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) says that the Messenger of Allah (peace and blessings be upon him) was asked about nushrah (ruqyah for jinn possession), and he (peace and blessings be upon him) said: "It is the work of Satan."
The Shaykh said: The two kinds of opinion reported about nushrah are the same as those about ruqyah in general.
It has also been narrated from the Prophet (peace and blessings be upon him) as mursal, and despite being mursal it is more correct.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الضحايا / 19613