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

Qaddarallahu Wa Ma Sha’a Fa’al — Meaning & When To Say It

Allah has decreed, and what He willed, He has done

When something goes wrong and the mind starts replaying it — if only I had left earlier, if only I had checked — the sunnah replaces that spiral with one sentence: qaddarallahu wa ma sha’a fa’al. This page covers its meaning, the hadith it comes from, exactly when to say it, and the Arabic text ready to copy.

The Phrase

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

Qaddarallāhu wa mā shā'a fa'al

What Does Qaddarallah Mean?

It means: “Allah has decreed, and what He willed, He has done.” It is a declaration that what happened was written by Allah’s decree (qadar) — spoken at the exact moment regret tempts you to relive a loss.

Urdu: اللہ نے یہی مقدر فرمایا تھا اور جو اس نے چاہا وہ کر دکھایا۔

The Hadith It Comes From

The phrase is taught in a famous hadith in Sahih Muslim: the Prophet ﷺ said that the strong believer is better and more beloved to Allah than the weak believer, though there is good in both — then instructed: if something befalls you, do not say “if only I had done such-and-such”, but say qaddarallahu wa ma sha’a fa’al, for “if only” opens the door to the work of Shaytan. The hadith names the exact thought pattern the phrase is designed to close: regretful replaying of the past.

When To Say It

Say it whenever a loss or setback has already happened and cannot be undone — a missed opportunity, an accident, a business loss, a mistake with consequences — especially the moment you notice yourself thinking “if only”. It differs from inna lillahi wa inna ilayhi raji’un in emphasis: inna lillahi acknowledges that everything belongs to Allah; qaddarallah closes the door on regret about His decree. In practice the two are often said together at a calamity.

Copy and Send

Qaddarallahu wa ma sha’a fa’al — Allah has decreed, and what He willed, He has done.

For the phrase said first at any calamity, see the main inna lillahi guide; for strength under a burden, see la hawla wala quwwata illa billah.

Is it wrong to say 'if only' after a loss?

The hadith in Sahih Muslim discourages the regretful ‘if only’ that reopens a decreed matter, because it invites the whispering of Shaytan. Planning and learning lessons for the future is different and encouraged — the phrase targets futile regret, not reflection.


What is the difference between qaddarallah and inna lillahi?

Inna lillahi is the Qur’anic response to a calamity, acknowledging Allah’s ownership. Qaddarallah is the sunnah response to regret, affirming His decree. At a loss, many say both — inna lillahi first, then qaddarallah when the mind turns to ‘if only’.