Sahih Muslim, Book 39, Hadith 95 (Muslim 5685)

Jabir reported Allah's Messenger (ﷺ) as saying:

There is a remedy for every malady, and when the remedy is applied to the disease it is cured with the permission of Allah, the Exalted and Glorious.