Praise be to Allah.
Muslim narrated in his Saheeh (2200) that ‘Awf ibn Maalik al-Ashja‘i said: We used to recite ruqyahs during the jaahiliyyah, and we said: O Messenger of Allah, what do you think about that? He said: “Recite your ruqyahs to me. There is nothing wrong with a ruqyah that does not involve shirk.”
This hadith indicates that it is permissible to recite ruqyah so long as it does not include any shirk or anything that may lead to shirk.
The scholars stipulated that in order for a ruqyah to be permissible, it is must meet three conditions, which they derived from the texts of the prophetic hadiths. It says in Fath al-Baari by Ibn Hajar (10/195): The scholars are unanimously agreed that it is permissible to recite any ruqyah if three conditions are met: that it consists of the words of Allah, may He be exalted, or His names and attributes; that it be in Arabic or another language of which the meaning is clear; and that it is not believed that the ruqyah has any impact in and of itself, rather any impact is by Allah’s leave. They differed as to whether the last of these is a condition or not, but what is most likely to be the case is that consideration should be paid to all conditions mentioned. End quote.
The conditions of ruqyah as prescribed in Islamic teachings have been discussed previously, in the answer to question no. 13792.
With regard to the ruqyah that you asked about in the question, it is not permissible for several reasons, including the following:
1. It includes bid‘ah (innovation). Reciting Soorat Muhammad fourteen times, or listening to it for three consecutive days after Maghrib, for the purpose of healing, or making it easy to get married, or to control the qareen (jinn companion), is regarded as an innovation. The scholars have stated that singling out a specific time to recite a specific dhikr, or reciting a specific dhikr a specific number of times, or reciting it in a specific manner that is not narrated in the Islamic texts, is regarded as bid‘ah idaafiyyah (innovation in the sense of adding to something that was originally prescribed). This has been discussed previously in the answers to questions no. 148174 and 87915.
2. This ruqyah includes some phrases of which the meaning is not known, such as “prayers for protection (al-muhassanaat al-hujubiyyah) and “prayers to ward off bad luck (ad‘iyat al-anhaas) [the Arabic phrases are very odd and unknown in Islamic texts]. We have noted above that one of the conditions of ruqyah being permissible is that it should not contain any phrases of which the meaning is unknown.
Please see the answer to question no. 11290 for a discussion on treating sihr (witchcraft) in the ways prescribed in Islamic teaching.
And Allah knows best.