The word of Allah alludes to this same meaning...
It ought not be mistakenly understood that the meaning of hearing and responding to the supplication of the invoker is that whatever he asks for at whatever time will be granted to him. Such an interpretation of the acceptance and granting of supplication is not compatible with religious explanations. All too often what the invoker supplicates for is not in his good interests and granting his request harms him, because he is not aware of what is expedient for him.
In his will to his son, Imam ‘Ali ( ‘a ) states: “Then he has placed the keys of His treasures in your hands in the sense that He has shown you the way to ask Him. Therefore, whenever you wish, open the doors of His favor with prayer and let the abundant rains of His mercy fall on you. Delay in acceptance of the prayer should not disappoint you because the granting of prayer is according to the measure of your intention.
Sometimes acceptance of prayer is delayed with a view to its being a source of greater reward to the asker and of better gifts to the expectant. Sometimes, you ask for a thing but it is not given to you, and a better thing is given to you later or a thing is taken away from you for some greater good because sometimes you ask for a thing which contains ruin for your religion if were to be given to you.
Therefore, your request should be for things whose beauty should be lasting and whose burden should remain far from you.
As for wealth, it will not last for you and may bring harm to you in life and in the hereafter.”[^4] Differences among People in Supplication and Requests In regard to man’s incentive in supplication and why so much emphasis has been laid on invocation of Allah, it ought to be said in brief that the path towards man’s perfection is devotional service to Allah and one of the manifestations of servitude to Allah is that man ought to present his needs only to Allah and ask Him only to grant them.