The only type of ruqya (tawiz) that is forbidden in the hadith is the wrong one that involves shirk. However, the authentic ruqya using the proper ayat and hadith recommended by the Messenger of Allah (peace and blessings be upon him) is permissible as long as we hold a firm belief in Allah and put our trust in him.

The prominent Muslim scholar Sheikh MuhammadIqbalNadvi, director and imam of Al-Falah Islamic Center in Oakville, Ontario, Canada , states the following: On the authority of Ibn `Abbas (May Allah be pleased with them) who reported that Messenger of Allah (peace and blessings be upon him) said, “I was shown the past nations. I saw a Prophet who had a very small group (less than ten in total) with him, another Prophet who was accompanied by only one or two men and some did not have even one. Suddenly I was shown a huge crowd and I thought that they were my Ummah, but I was told: ‘This is Musa (Moses) and his people, but look towards the other side.’ I looked and beheld a great assemblage. I was told: ‘These are your people and amongst them there are seventy thousand who shall enter Jannah without being taken to account or torment.” Then the Prophet (peace and blessings be upon him) stood up and went into his apartment, and the Companions began to guess who may be those people who would enter Jannah without any accounting or torment. Some said: “Probably, they are the ones who kept company with Messenger of Allah (peace and blessings be upon him).” Others said: “Probably, they are the ones who have been born as Muslims and have never associated anyone with Allah in worship”. Then Messenger of Allah (peace and blessings be upon him) came out and asked, “What are you discussing?” So they told him. He then said, “They are those who do not make ruqya (blowing over themselves after reciting the Qur’an or some prayers and supplications the Prophet, peace and blessings be upon him, used to say) nor seek it, nor perceive omens (i.e., they are not pessimistic) but keep trust in their Lord (Allah).” On this `Ukashah Ibn Mihsan stood up and asked: “Pray to Allah to make me one of them.” The Prophet (peace and blessings be upon him) said, “You are one of them.” Then another man stood up and asked the same thing. The Prophet (PBUH) answered, “`Ukashah has surpassed you.”
Of course the type of ruqya (tawiz) that is forbidden in the hadith is the wrong one that involves shirk. However, the authentic ruqya using the proper ayat and hadith recommended by the Messenger of Allah (peace and blessings be upon him) is permissible as long as we hold a firm belief in Allah and put our trust in him.