One of the commands of God to the Holy prophet is Tawakkul ( reliance on God or "trusting in God's plan");
فَإِذَا عَزَمْتَ فَتَوَكَّلْ عَلَى اللَّهِ ۚ
When you decide to do something, choose me as your lawyer so that my will accompanies your work and produces outcome.
source : erfan.ir