Hardship, fear and worry

Dua when something bad happens

Updated · From Hisnul Muslim

Short answer

When something goes wrong, say: "Allah has decreed, and what He wills He does". The Prophet ﷺ taught this in place of "if only I had done this or that", warning that "if" opens the door to Shaytan (Muslim 2664).

Keep every du'a from Hisnul Muslim with you, with Arabic and meaning, in the free Tasleem app. Get the app →

The dua

قَدَرُ اللهِ وَما شَاءَ فَعَلَ

"Allah has decreed and what He wills, He does."

(Muslim 2664)

When to say it

When a setback reaches you: a loss, a missed chance, a plan that fails, a mistake you cannot undo. The moment is when your mind starts replaying "if only I had...". This phrase replaces that spiral with acceptance of Allah's decree.

It does not mean giving up effort. The same hadith begins by telling the believer to strive for what benefits him and seek Allah's help.

The hadith behind it

Abu Hurayrah reported that the Prophet ﷺ said a strong believer is better and more beloved to Allah than a weak believer, though there is good in both. He then gave three instructions: be eager for what benefits you, seek help from Allah, and do not give up.

Then he addressed what happens when something befalls you anyway. Do not say, "If only I had done such-and-such, this would have happened." Instead say that Allah decreed it and did what He willed, because "if" opens the way for the work of Shaytan (Muslim 2664).

The hadith joins effort and acceptance. Before the event, you work hard and rely on Allah. After it, you accept what He decreed, without the regret that Shaytan uses to bring grief and resentment.

Frequently asked questions

Is it wrong to say "if only"?

The Prophet ﷺ told us not to say "if only I had done such-and-such" about something that has already befallen us, because it opens the door to Shaytan (Muslim 2664).

Does accepting the decree mean I should not try?

No. The same hadith tells the believer to strive for what benefits him, seek Allah's help and not give up (Muslim 2664).

Is this phrase a du'a or a statement?

It is a statement of faith in Allah's decree, said in place of "if only" (Muslim 2664).

In Tasleem

Tasleem's Duas section has this du'a from Hisnul Muslim, with Arabic and meaning, alongside the morning and evening adhkar.

Sources