He came to the Messenger of Allah ﷺ and said, "Messenger of Allah, what do you say about medicines we use for treatment, incantations we seek healing through, and protective measures we take? Do these turn back anything from Allah's decree?"The Messenger of Allah ﷺ replied, "These too are part of Allah's decree ."
حدثنا علي بن عياش حدثنا بقية بن الوليد عن الزبيدي محمد بن الوليد عن الزهري
أنه أتى رسول الله ﷺ فقال يا رسول الله أرأيت دواء نتداوى به ورقى نسترقي بها وتقى نتقيها هل ترد ذلك من قدر الله شيئا قال فقال رسول الله ﷺ ذلك من قدر الله تبارك وتعالى