If a person is affected by a jinn, then the way to treat him is that one should make the affected person sit in front of him and then recite the following verses and blow on him. This was the manner in which Rasulullah (sallallahu alaihi wasallam) treated a person who was affected by a jinn.
1) Surah Faatihah
2) The beginning verses of Surah Baqarah – till المفلحون
3) Aayah 163 of Surah Baqarah (i.e. the aayah commencing with {وإلهكم إله واحد})
4) Aayatul Kursi
5) The last three verses of Surah Baqarah
6) Aayah 18 of Surah Aale Imraan (i.e. the aayah commencing with {شهد الله أنه لا إله إلا هو})
7) Aayah 54 of Surah Aaraaf (i.e. the aayah commencing with {إن ربكم الله الذي خلق})
8) The concluding verses of Surah Mu’minoon (i.e. from the aayah commencing with {فتعالى الله الملك الحق})
9) Aayah 3 of Surah Jinn (i.e. the aayah {وأنه تعالى جد ربنا ما اتخذ صاحبة ولا ولدا})
10) The first ten aayaat of Surah Saaffaat
11) The last three verses of Surah Hashr
12) The Three Quls (i.e. Surah Ikhlaas, Surah Falaq and Surah Naas)
عن عبد الرحمن بن أبي ليلى حدثني أبي بن كعب قال كنت عند النبي صلى الله عليه وسلم فجاء أعرابي فقال يا نبي الله إن لي أخا وبه وجع قال وما وجعه قال به لمم قال فأتني به فوضعه بين يديه فعوذه النبي صلى الله عليه وسلم بفاتحة الكتاب وأربع آيات من أول سورة البقرة وهاتين الآيتين (وإلهكم إله واحد) وآية الكرسي وثلاث آيات من آخر سورة البقرة وآية من آل عمران (شهد الله أنه لا إله إلا هو) وآية من الأعراف (إن ربكم الله الذي خلق السموات والأرض) وآخر سورة المؤمنين (فتعالى الله الملك الحق) وآية من سورة الجن (وأنه تعالى جد ربنا) وعشر آيات من أول الصافات وثلاث آيات من آخر سورة الحشر وقل هو الله أحد والمعوذتين فقام الرجل كأنه لم يشتك قط (مسند أحمد، الرقم: 21174)
Hazrat Ubayy bin Kab (radhiyallahu anhu) reports, “I was once seated by Rasulullah (sallallahu alaihi wasallam) when a Bedouin came and said, ‘O Nabi of Allah (sallallahu alaihi wasallam)! I have a brother who is ill?’ Rasulullah (sallallahu alaihi wasallam) asked him, ‘What is his illness?’ The person replied, ‘He is affected by a jinn.’ Rasulullah (sallallahu alaihi wasallam) then said, ‘Bring him to me.’ Thereafter (when the person was brought), Rasulullah (sallallahu alaihi wasallam) placed him in front and then Rasulullah (sallallahu alaihi wasallam) sought Allah’s protection for him from the jinn through reciting upon him the abovementioned verses. The person thereafter stood up as though he had no illness that had ever affected him before.”
Note: It should be borne in mind that this prescription that has been explained in the mubaarak Hadith can be done by a person who is knowledgeable and experienced in the field of treating people with the effects of jinn. It should not be done by people who are not knowledgeable and experienced in the field as one can experience complication or even be harmed in the process of treating a person affected b a jinn.