Umm Salamah (RAA) narrated that the Messenger of Allah (ﷺ) said:
"Allah did not make your cure in what He made Haram (unlawful) to you." Related by Al-Baihaqi and graded as Sahih by Ibn Hibban. (ID)
English reference (ID): Book 10, Hadith 1290 (ID)
Arabic reference (ID): Book 10, Hadith 1251 (ID)