Gems of the Promised Messiah & Imam Mahdi (as), Hazrat Mirza Ghulam Ahmad (as)
He who supplicates God at the time of difficulty and distress and seeks the resolution of his difficulties from Him achieves satisfaction and true prosperity from God Almighty provided he carries his supplication to its limit. Even if he does not achieve the purpose of his supplication, he is bestowed some other kind of satisfaction and contentment by God Almighty and does not experience frustration. In addition, his faith is strengthened and his certainty increases. But the one who in his supplication does not turn towards God Almighty remains blind all the time and dies blind…
He who supplicates with the sincerity of his soul is never truly frustrated. That prosperity which cannot be achieved through riches and authority and health, but which is in the hand of God and He bestows it in whatever shape He wills, is bestowed through perfect prayer. If God Almighty so wills, a sincere and righteous person in the midst of his distress achieves such delight after supplication which an emperor cannot enjoy on the imperial throne. This is true success which is bestowed in the end on those who pray.
Hazrat Mirza Ghulam Ahmad (as), The Essence of Islam, Vol. II (Tilford, Surrey, Islam International Publications Ltd., 2004), 207-208.