In the Name of Allah, The Most Gracious, Ever Merciful.
Muslims who believe in the Messiah, Hadhrat Mirza Ghulam Ahmad Qadiani (as)
When it is the time for the grace of God to be granted to someone, all the means for the acceptance of the prayer are put together by God; one feels a burning in the heart and a great desire to pray. But when the time is not ripe for the acceptance of the prayer one does not feel any sort of contentment of the heart and also one does not feel inclined to pray fervently, however one might try to persuade oneself. The reason for all this is that sometimes God wishes His own will to be accepted by the man as it is and with pleasure and sometimes He accepts the prayer and thus does what His servant asks Him to do. I therefore, expect the acceptance of the prayer very seldom unless I have an inkling from God Himself, and I keep myself contented with whatever the will of God might be, and I am pleased with it the same way as I would have been pleased with the acceptance of the prayer that I might have offered; the truth is that blessings of resignation to the Will of God are much more and they produce better results. (Malfoozat Vol. 1, pg. 440)
The fact is that he who does not perform appropriate deeds, does not really pray; he only wants to try God. That is why it is essential that before praying for something it is vitaly important that one should make use of all the sources available to him. This is what really prayer means. One should think over his beliefs and actions, for the practice of God is that He makes the reformation through some relavent means, that is, He makes the means available. (Malfoozat Vol. 1, pg. 118)