From Sahih Bukhari (Hadith 5744):
Narrated `Aisha: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)
Reference: Bukhari 5744