the topic of du'â and its relationship with destiny (qadr) is a very important one, and one around which much confusion exists. many people ask: "if everything has already been destined to occur, then of what use is du'â, as, if allah has written what i want, i will get it without making du'â, and if it is not written for me, then i will never get it no matter how much du'â i make?"
the response to this question lies in understanding the outcome of anything is dependant on the performance of the efforts that are necessary to procure it. in other words, it has already been decreed, for example, that a seed will give fruit if planted, but this will not occur unless the farmer takes the appropriate efforts in irrigating the crop, maintaining it, protecting the seedling as it grows, and ensuring as much as he can that the factors are amenable for the plant to give fruit.
so even though a person believes in the divine decree, he must at the same time strive all he can to ensure that the desired goal occurs. so du'â is the means that one uses to achieve the desired goal that one has, and this means in no way contradicts the destiny that has been written for that person.
this stance is clarified by the prophet's hadîth reported by thawban, that he said:
"nothing increases one's life-span except good deeds, and nothing repels divine decree except du'â. and very, a person may be deprived for sustenance due to a sin that he does!" [narrated by ibn maajah #90 and confirmed authentic by shaykh al-albaanee in as-sahîhah #154]
in other words, the performance of good deeds is a cause of increasing one's life span, so if a person puts in the necessary effort, the results will be achieved, and this is also destined. so both the means to achieve a goal, and the fulfilment of the goal itself, are already decreed.
if someone were to ask: "how can du'â repel divine decree?" we would respond, "the fact that you may be ill has already been decreed by allah for you, as has the fact that you will ask allah to cure you of this illness (i.e. both the illness and your asking to cure the illness has been decreed). in a similar manner, a person may be deprived of his sustenance that was decreed for him since allah's eternal knowledge encompassed the fact that this person would perform a sinful deed that would cause deprivation of his sustenance. all of this, then, is from the decree of allah, all glory and praise be to him."
there are a number of ahadîth that clarify this point. for example, mu'aadh ibn jabal reported that the prophet, peace be upon him, said:
"caution will be of no benefit against divine decree, but du'â benefits all things, whether they come down or not. i therefore advise you to make du'â, o servants of allah!" [this hadîth is weak. it was narrated by ahmad, abu ya'la and at-tabaraanee in al-kabîr, as has been mentioned in da'îf al-jâmi' #4785]
so no matter how cautious a person is, he cannot escape what is written for him, simply because allah controls everything, and nothing escapes his knowledge or power. however, by turning to allah through du'â, it is possible to avert something that might have been decreed. salmaan al-faarsee narrated that the prophet, peace be upon him, said:
"nothing repels divine decree except du'â, and nothing increases one's life-span except good deeds." [authentic, reported by at-tirmidhee and al-haakim from salmaan, and is in sahîh al-jâmi' #7687]
this hadîth informs us in no uncertain terms that the only way that we can repel some divine decree is through the means of du'â. so it is possible that some unpleasant matter has been preordained for us, but only if we do not make du'â to avert it from us. so if a du'â is made, then this matter will not occur or be fulfilled, whereas if du'â is left, the misfortune will occur.
another narration by at-tirmidhee also supports this. the prophet, upon whom be peace, said:
"there is no muslim on the face of the earth that asks allah for anything except that allah gives it to him, or averts from him a similar evil, as long as he does not ask for something evil or for breaking the ties of kinship." [authentic, narrated by at-tirmidhee from 'ubaadah ibn saamit, as is mentioned in sahîh al-jâmi' #5637]
from this narration, the benefits of du'â are made clear, and its value is understood. for not only is a person rewarded for a making a du'â, but it is also a cause of repelling an evil that was destined for him, and in obtaining the good that he was expecting.
ibn hajr, commenting on the benefits of du'â, said:
"and the benefit of performing du'â is the attainment of reward by obeying the command (of allah to make du'â), and also by the attainment of what is asked for, for there is a possibility that the request is dependant on the du'â, since allah is the creator of both the effort and result of the effort!" [fath al-bârî 11/95]
therefore, the proper response to the question posed at the beginning of the chapter is, in the words of ibn al-qayyim, as follows:
"the logical consequences of such a reasoning leads to a rejection of all efforts. it can, therefore, be said to a person who holds this view, 'if the satisfaction of your hunger and thirst has already been destined for you, then it will be fulfilled, whether you eat or not. on the other hand, if it has not been destined for you, it will never occur, whether you eat or not. and if a son has been destined for you, then you will be granted one, whether you have intercourse with your wife or not. on the other hand, if a son has not been destined for you, then you will never be granted one. in this case, there is no point in getting married!' now will any sane person agree with all of these conclusions?" [al-jawâb al-kâfi p.13]
to summarise, then, divine decree (qadr) cannot be used as an excuse not to make du'â. for, just as one strives to ensure that one attains worldly needs, of food, drink and family, so too must one strive in one's religious deeds to attain the desired goal. du'â is intrinsically related to qadr; in fact, it is part of one's qadr. allah has already decreed that a certain matter will be granted to a servant, or an evil averted from him, if he make du'â, so if he were to leave du'â, then the desired goal would not be reached.
hence why it was the sunnah of the prophet, upon whom be peace, to make the following du'â during the witr prayer:
" ... bless me in what you have given me. and avert and turn away from me the evil that has been decreed for me, for verily you decree (all things), and none can decree against you ... " [reported by at-tirmidhee #464, an-nasaa'ee #1725 and others, with an authentic chain]
so the muslim turns to allah and prays to him so that any and all evil can be averted from him.
additionally, it should be remembered that the concept of divine decree is one that a human can never fully understand, due to his limited intellect and finite capabilities. the true muslim does not delve too deeply into the philosophical ramifications of divine decree. rather, he accepts all that has occurred to him in the past as having been destined for him, and he strives to obtain what he desires in the future (as long as it is permissible for him). since he does not know what has been written for him in the future, he expects the best from allah, and does everything in his power to ensure that what he wants is granted to him. just like going to work everyday will ensure, if allah wills, that he gets his pay-cheque at the end of the month, so too does making du'aa ensure, if allah wills, that he achieves his desired goal.
source: du'â: the weapon of a believer