Allah's Messenger (ﷺ) used to treat with a Ruqya saying, "O the Lord of the people! Remove the trouble The cure is in Your Hands, and there is none except You who can remove it (the disease) . "
Sahih al-Bukhari Book 76, Hadith 59