“The Messenger of Allah (ﷺ) said: ‘Whoever gives medical treatment, with no prior knowledge of medicine, is responsible (for any harm done).’”
Sunan Ibn Majah Book 31, Hadith 31