Yes — and this is one of the beautiful mysteries of qadar (divine decree) that Islam teaches clearly. Allah says, 'Allah erases what He wills and confirms [what He wills], and with Him is the Mother of the Book' (13:39), showing that decree is not, from a human perspective, a single fixed script that can never shift — Allah can alter outcomes, and dua is one of the means He has established for that. The Prophet said plainly, 'Nothing averts the decree except dua' (Sunan al-Tirmidhi 2139). Scholars explain this without contradiction: everything is already known to Allah in His eternal knowledge, including which duas will be made and which decrees they will change — so dua is itself part of the decree, not something operating outside it. In practice, this means a person's sincere prayer for healing, safety, provision, or ease can genuinely be the reason Allah grants a better outcome than what was otherwise written, or removes a hardship that would have occurred. It gives real, practical hope: dua is never a symbolic gesture toward a sealed fate, but an actual means Allah has placed in our hands to shape what happens to us, alongside the decree He has already perfectly ordained.
Q&A · Dua & Dhikr
Can dua actually change a person's destiny (qadar)?
References
13:39Sunan al-Tirmidhi 2139
Informational, not a personal fatwa. Consult a qualified scholar for rulings on your situation.