The Messenger of Allah ﷺ visited a man who had a wound. The Messenger of Allah ﷺ said, "Call for him the physician of such-and-such tribe."So they called him, and he came and asked, "Messenger of Allah, does medicine actually do any good?"He replied, "Glory be to Allah! Has Allah sent down any disease on earth without also providing a cure for it?"
عاد رسول الله ﷺ رجلا به جرح، فقال رسول الله ﷺ: ادعوا له طبيب بني فلان قال: فدعوه فجاء، فقال: يا رسول الله، ويغني الدواء شيئا؟ فقال: سبحان الله، وهل أنزل الله من داء فى الأرض، إلا جعل له شفاء.
Ahmad (23156) narrated it from Ishaq bin Yusuf, who said, Sufyan (that is, Thawri) narrated to us, from Mansur (that is, Ibn Mutamir), from Hilal bin Yasaf, from Zakwan, from a man from the Ansar, and he related it. Its chain is sahih.It has also been narrated by another route from Hilal bin Yasaf as a mursal report. Ibn Abu Shayba narrated it (23880), and Abu Naeem in al-Tibb al-Nabawi (33, 34), and the ruling belongs to the connected version.