Abdur-Rahman bin Luayli (radhiallahu anho) narrates that someone asked Rasulullah (Sallallahu Alayhi Wasallam), “How should I make Tawakkul on Allah? Should I leave my camel just like that confiding in Allah, that if Allah wants this camel can not go anywhere and will come back to me, or should I tie the camel with a rope and then trust in Allah?” Meaning that should Asbaab (means) and measures be used or not? He replied, “Tie the camel with a rope and then trust in Allah.”
Some people have the misunderstanding that using Asbaab is against Tawakkul, although Allah Ta’ala has created some or the other kind of Sabab (cause) for everything.
Sure, all the Asbaab are dependent on Allah and Allah is not dependent on Asbaab. He has the power of causing anything without any Sabab, too. Through Asbaab nothing can happen without the order of Allah. Sending rain without clouds and while clouds are present sending no rain Allah has the power of.
The correct Tawakkul is while using means and measures for every work to rely on Allah, that this Asbaab and it’s outcomings and effects are in His control.
[“Tanbihul Ghafileen”, Faqih Abu Layth Samarqandi (Rahimullah)]