The Messenger of Allah ﷺ said, "Whoever practices medicine without being known for any prior knowledge of it is liable for any harm caused."
أخبرني عمرو بن عثمان ومحمد بن مصفى قالا حدثنا الوليد عن ابن جريج
قال رسول الله ﷺ من تطبب ولم يعلم منه طب قبل ذلك فهو ضامن
Grading, its isnad is daif.Ibn Majah narrated it in the Book of Medicine, chapter "Whoever Practices Medicine Without Knowledge of It," hadith 3466, from the hadith of Walid bin Muslim through the same route, and it is also in Kubra, hadith 7034. Hakim graded it sahih (4/212), and Dhahabi agreed with him. Ibn Jurayj narrated with "an" (indicating a possible break in transmission), as noted previously at hadith 4008. The hadith has a corroborating witness that is daif.