Why Pray If It is Not Going to Be Answered?
Question
As-salam alaikum scholars! I have a question about prayer. If we believe in Allah and pray to him to help us do something like get perfect on a test, why would it be necessary to even study? Also, how come when we call upon Allah at times like if we are tired and ask for energy and happiness, we do not receive it in the time we require? Some Muslims say that if Allah does not want what you are praying for to happen, he will not grant it. But then, if Allah wouldn't grant something whether you prayed for it or not, what is the point of praying anyway? Many people get what they want without praying and without faith, but those that do sometimes do not. I hope you understand what I am asking and can help clear these problems out for me. Thank you so much. May Allah reward you for your kindness.Answer
Salam Dear Ahmed,
![]() |
Thank you for your question and for contacting Ask About Islam.
Let me clarify that Allah commands us in the Quran to supplicate to Him; we read what means:
{[Prophet], if My servants ask you about Me, I am near. I respond to those who call Me, so let them respond to Me, and believe in Me, so that they may be guided.} (Al-Baqarah 2:186)
This verse makes it clear that Allah is very close to us. He has knowledge of everything. He knows our needs, feelings, thoughts, etc. He knows what we utter and what we conceal.
Anyone who has a firm belief in Allah should be rest assured that if he supplicates to Allah, He will answer his supplication.
About the merits of prayer, the Prophet (peace be upon him) is reported to have said:
“The most excellent worship is du'a” (Sahih Al-Jami`)
For an accepted supplication, one should be sincere in the sense that he prays to Allah alone and not anyone else; Allah says what is translated as:
{So call upon God and dedicate your religion to Him alone, however hateful this may be to the disbelievers.} (Ghafir 40:14)
One should also repent to Allah and give up all sins; Allah says what means:
{I said, “Ask forgiveness of your Lord: He is ever forgiving. 11 He will send down abundant rain from the sky for you; 12 He will give you wealth and sons; He will provide you with gardens and rivers.} (Nuh 71:10-13)
One should also seek the perfect times and places for supplicating to Allah. Supplication is highly recommended at the time of Fajr, at the time of the last third of the night, between the adhan and the iqamah, on Friday, after the prescribed prayers, on the night of Qadr. Supplication is also recommended in the mosques especially the Sacred Mosques of Makkah and Madinah.
As for Allah’s answering our supplication, we have to keep in mind that Allah promised to answer our prayers. One of the beautiful names of Allah is al-Mujeeb (the one who answers our prayers). So we have to have firm belief that in that divine name of Allah.
We are told that Allah will respond to our supplications immediately, or He will ward off some evil from us because of the supplication, or He will make something good easy for us to attain because of it, or He will save it with Him for us on the Day of Resurrection when we will be in need of it.
These are how our supplications are answered: We must have a strong conviction that our supplications will be answered. If there is a certain supplication that is not answered, it is because of we have done something wrong. For example, consuming unlawful food is a reason for our supplications to be rejected.
If we ask Allah for something that is unlawful such as breaking family ties, our supplication will not be answered. The Prophet (peace be upon him) is reported to have said:
“A person's supplication will continue to be answered so long as he does not pray for something sinful or for the breaking of family ties.” (Muslim)
One’s supplication will not be answered if he hastens for it. The Prophet (peace be upon him) said:
“The supplication of any one of you will be answered so long as he is not impatient and says, ‘I made supplication but it was not answered.’” (Al-Bukhari and Muslim)
One’s supplication will not be answered if you make the answer conditional. For example, do not supplicate and say if Allah cures my illness, I will give out in charity.
One has to meet all these conditions as much as possible. One may meet all these conditions but still his answer is not answered. There is a secret that is disclosed in the Quran where we read what means:
{Yet man prays for harm, just as he prays for good: man is ever hasty.} (Al-Israa’ 71:11)
You might ask Allah to make you rich but your prayer is not answered. Allah knows in His wisdom that if you become rich, you will turn away from Him and neglect your duties toward Him.
We also have to remember that there is a difference between making du’a to Allah and doing what is needed from us in terms of human calculations. For example, to pass a test, you have to study hard and do all assignments. Do not say that I will pray to Allah to help me pass that test and therefore I do not have to study.
This is called tawakul not tawakkul. Tawakkul is to do your best and leave the result to Allah. Tawakul is to neglect the things needed from you and say that Allah will help you out.
As for those who get the things they need without making du’a, this is part of Allah’s wisdom. When Allah wants to get you closer to Him, He asks you to make du’a to hear your voice and listen to your words.
So it is something good to get things through making du’a. Du’a is a form of worship for which there is a great reward. So when you make du’a, you will feel closer to Allah especially during prostration.
If one gets the things he wants without having faith in Allah, it is because these are worldly affairs. In the Hereafter, those people will get nothing because they did not have belief in Allah in the first place.
{… There are some who pray, ‘Our Lord, give us good in this world,’ and they will have no share in the Hereafter.} (Al-Baqarah 2:201)
Answering the disbelievers’ supplication is part of His mercy which encompasses everything.
To sum up, you are highly advised to act upon Allah’s command to make lots of du’a to Him. Be sure that your du’a will be answered if not in this world it will be counted as rewards for you in the Hereafter when you will be in need of a single reward.
At this point, you will wish that all supplications were all unanswered and be saved up as rewards for you in the Hereafter. Be one of those who would say:
{‘Our Lord, give us good in this world and in the Hereafter, and protect us from the torment of the Fire.’} (Al-Baqarah 2:202)
I hope this helps answer your question.
Salam and please keep in touch.
Useful Links:
Why Does a Supplication Remain Unanswered?
Why doesn't Allah Answer Our Du'a (Supplication)?
Allah Never Accepts my Du'a!

