Question · 13 min read

If Allah wrote my destiny, why am I punished?

On this page

If the pen wrote everything that will happen fifty thousand years before creation, Allah creates human acts, and a person is then punished for an act within that decree, the question of how the punishment is just is neither a trick nor a modern invention. Disputes over qadar and human agency appear near the beginning of Islamic theology. This page argues that the mainstream formulas preserve both divine creation and human responsibility without a settled account of the morally originating contribution that would make desert intelligible. The familiar answer that Allah merely knows what a person will choose (as a teacher predicts failure without causing it) addresses foreknowledge. The creedal problem is harder because the orthodox doctrine also says that Allah creates the acts.

The problem as the texts pose it

Two texts from the tradition’s core anchor the problem.

Primary. Sahih Muslim (Kitab al-Qadr) carries the hadith that Allah wrote the destinies of all creation fifty thousand years before creating the heavens and the earth.1 Sahih Muslim, Kitab al-Qadr, narrated ‘Abdullah b. ‘Amr b. al-‘As; tr. Abdul Hamid Siddiqui (full text). The Arabic verb is kataba, “wrote” — kataba Allahu maqadir al-khala’iq, “Allah wrote the measures of the creation.” “Ordained” renders the verb’s decree sense, which is standard — the standard Quran translations render kutiba at Quran 2:183 “prescribed” (Pickthall) and “decreed” (Saheeh International); “(of quality)” is the translator’s parenthesis, with no counterpart in the Arabic. The rendering was examined and not flagged in the comparisons document. “I heard Allah’s Messenger as saying: Allah ordained the measures (of quality) of the creation fifty thousand years before He created the heavens and the earth, as His Throne was upon water.” The Arabic verb is kataba, “wrote”; the standard English renders it “ordained,” and that rendering captures a real decree sense of the verb. The inscription precedes the creation of the actors, the world in which they act, and every act it contains. The tradition’s commentators can still describe the Preserved Tablet as a transcript of God’s timeless knowledge of what creatures would choose, so kataba alone does not prove that the writing causes each choice. It does establish something the popular “record” analogy often conceals: the complete course is inscribed before the chooser exists. The next doctrine supplies the causal element.

Primary. The Adam–Moses report in the same book makes the object of the writing explicit. Moses blames Adam for the lapse that brought humanity down to earth. Adam replies: “Do you then blame me for an act which Allah had ordained for me forty years before He created me?” Muhammad concludes that Adam defeated Moses in the argument.2 Sahih Muslim, Kitab al-Qadr, narrated Abu Huraira; tr. Abdul Hamid Siddiqui (full text). The Arabic is ʿamalan katabahu llāhu ʿalayya an aʿmalahu, literally “an act Allah wrote upon me that I should perform”; “ordained for me” is the published translation. “Whereupon, he (Adam) said: Do you then blame me for an act which Allah had ordained for me forty years before He created me? Allah’s Messenger said: This is how Adam came the better of Moses.” The Arabic is stronger and more precise than “the event was recorded”: ʿamalan katabahu llāhu ʿalayya an aʿmalahu—an act Allah wrote upon me that I should perform. Here the prior writing is attached to Adam’s performance of the act for which Moses blames him.

Reported. The orthodox Sunni creedal position is khalq afʿāl al-ʿibād: Allah creates the servants’ acts. Al-Bukhari titled a treatise with this phrase. Quran 37:96—“Allah created you and what you do”3 Quran 37:96, tr. Pickthall (text). Pickthall’s rendering takes the contested phrase as “what ye make”: “When Allah hath created you and what ye make?” —is often cited, although its grammar is contested. The context concerns idol-carving, and mā taʿmalūn can mean “what you make” rather than “what you do.” Mainstream Sunni doctrine affirms divine creation of human acts independently of that parsing. The qadar reference document treats the verse and the grammatical dispute under “The agency objection”.

Put the two together and the question sharpens beyond the foreknowledge framing found in the popular treatments reviewed for this project. The claim is not merely that Allah knew a person would take their own life, steal, or disbelieve. The course was written before the person existed; Allah then creates the act when it occurs; and the person is punished as its deserving author. Argued. Justice then turns on one question: what morally relevant authorship remains with the servant after the decree and the divine creation of the act are both granted? The test for each answer is whether it identifies that contribution or merely repeats that the act is called the servant’s.

Answer one: “Allah only knows; He doesn’t make you do it”

This answer opens several popular treatments reviewed for this project. It is philosophically respectable (foreknowledge of a choice arguably does not cause the choice), and it does not touch the creation-of-acts problem.

One failure is an equivocation in “written.” Human beings record an event after it occurs; the hadith places Allah’s kataba fifty thousand years before creation. Timeless foreknowledge may explain how a future choice could be known and inscribed without being caused, but retrospective recording is not what the report describes. The decisive failure is that foreknowledge is silent about creation. Grant timeless knowledge and knowledge conforming to the thing known, and khalq afʿāl al-ʿibād still stands: Allah creates the act. The answer therefore resolves how God can know a free act, then leaves untouched whether the act is free under the creed that says God creates it. A fuller walk through these substitutions is at Why the standard explanations of qadar don’t work.

The classical reply to the Adam–Moses report distinguishes excusing a sin from invoking decree over the calamity that followed it: Adam is said to defend against blame for humanity’s expulsion, not to deny responsibility for his lapse. That distinction is not stated in this version of the report. Moses expressly blames Adam because of his khaṭīʾa; Adam answers by citing the ʿamal Allah wrote for him to perform; and Muhammad declares Adam’s answer victorious. The calamity reading can reconcile the report with accountability, but it does so by narrowing Adam’s argument beyond the wording through which he wins it.

Argued. Adam’s successful reply also creates a generalization problem. If an act’s having been written upon its agent before creation defeats blame, the same answer appears available wherever qadar includes an agent’s act. Restricting the defense to Adam therefore requires a relevant difference supplied from outside this report. Repentance does not supply one: it may explain why Adam was forgiven, but not why prior writing defeats Moses’s blame for the original act. Nor does it restore originating authorship when the repentance, like the lapse, belongs to the same comprehensive decree. The report alone does not abolish all moral accountability; combined with universal prior writing and divine creation of human acts, however, its winning argument cannot be confined to Adam without an additional principle.

Answer two: kasb — “Allah creates the act; you acquire it”

The mainstream Sunni answer, the Ashʿarī doctrine of kasb (acquisition), at least addresses the right problem. It concedes that Allah creates every act, and locates human responsibility in something called acquisition: the act is created by Allah and acquired by the servant, and the acquisition is what is rewarded or punished.

Accounts of what acquisition is do exist. Al-Ash’ari’s own is specific: the act is created by God in conjunction with a created power (qudra haditha) in the servant, and acquisition is the act’s occurring alongside that created power. Al-Juwayni, late in his life, went further: his al-‘Aqida al-Nizamiyya is reported to grant created human power real efficacy in producing the act, a substantive answer, developed inside the school, though it did not become the school’s teaching. Al-Ghazali positioned kasb as a middle path between compulsion (jabr) and the human self-origination of acts. So an account was given — several were. What the record shows is that the mainstream retained the formula while the accounts that gave it content remained contested or marginal, and that the objection this page presses is itself classical: the doctrine’s elusiveness became proverbial in the tradition’s own literature, “subtler than the kasb of al-Ash’ari.” What does “acquiring” an act add, if the act’s existence, character, and occurrence are all created by Allah? The tradition’s formal answers, kasb among them, are weighed together in the reference document under The standard responses, and why none resolve the problem.

Answer three: ikhtiyar — “Allah creates the act; the choice is yours”

The Maturidi school—the other creedal school of Sunni orthodoxy—answers through the servant’s ikhtiyar, or choice: Allah creates the act, while the choice belongs to the servant. Later Maturidi teaching developed the juz’ ikhtiyari, an “element of choice” held not to be a created thing and therefore not authored by Allah. This became a standard answer in the Ottoman and South Asian madrasa worlds. It is a developed account that locates responsibility in a contribution attributed to the servant.

Reported. The developed reply denies that the juz’ ikhtiyari is an independently existing substance or accident. It may be characterized as a relation, specification, attribution, or non-entitative mode and therefore does not compete with Allah as an uncreated entity. A created-or-uncreated dilemma would assume that every real contribution must be an independently existing thing, and would beg the ontology under dispute.

Argued. The objection that remains is functional rather than classificatory. If the servant’s specification has no created existence and supplies no causal efficacy alongside divine creation of the act, what makes it sufficient to ground retributive desert rather than merely assign the act to the servant? The Maturidi answer correctly locates the needed contribution and avoids the crude ontological dilemma. Whether a non-entitative relation supplies morally originating authorship remains the disputed question.

Answer four: bila kayf — “believe both, don’t ask how”

The instruction to accept both the decree and the accountability bila kayf — without asking how — is an epistemic stance about the limits of human explanation. It can preserve both commitments as doctrine, but it does not provide the mechanism the question requests.

The answer that was ruled out

Reported. There was, historically, a position within Islam that answers the question cleanly: the Muʿtazila held that humans genuinely originate their own acts, because if Allah created the acts, punishing them would be unjust, and Allah is just. Whatever else may be said of Muʿtazilite theology, on this specific question it is the philosophically cleanest response the tradition ever produced: it simply denies the premise that generates the problem.

It was ruled out as heterodox. The doctrinal objection recorded against it was that human origination of acts posits creators alongside Allah. The school’s fall was also political (the mihna, the state inquisition that had enforced the Muʿtazila’s doctrine, was reversed under al-Mutawakkil, and their ascendancy ended with it), but the doctrinal exclusion stands in the creedal literature, and it stands to this day. The position that would dissolve the injustice was available and articulated, and it was rejected. What remained orthodox is the combination that generates the question at the top of this page.

Depth: "But you still deliberated and chose" — why this doesn't rescue the doctrine

A sophisticated defender may grant everything above and respond: the act is still yours, because it flowed through your deliberation, your desires, your character. You weighed the options; you wanted the outcome; you chose. This is, in philosophical terms, a compatibilist account of agency, and versions of it are seriously held in secular philosophy of free will.

Three questions must be separated. Alternative possibility asks whether the person could have done otherwise. Attributability concerns whether the act expressed the person’s own deliberation and character. Sourcehood sufficient for desert is the question of whether the morally decisive difference originates in the person strongly enough to justify retributive punishment. Compatibilism may deny that the first is necessary and still defend the second. This page’s argument therefore does not rest on a universal principle that responsibility always requires alternative possibilities. It presses the third question in the special case where the punishing agent is also said to create the deliberation, character, desire, circumstances, and act.

Argued. Theological determinism presents compatibilism in its hardest form because the prior cause is not impersonal. Imagine an engineer building a machine, programming its aims and decision process, placing it in the exact conditions that produce a prohibited output, and then destroying it for producing that output. Saying that the machine followed its own internal process does not transfer authorship from the engineer to the machine; the internal process is part of what the engineer supplied. The Sunni problem is not that human beings are literally machines. It is that the proposed ground of responsibility — the servant deliberated, desired, and chose — consists entirely of features that, on the deterministic account being defended, Allah created with knowledge of their certain result. If those features exhaust the explanation of the act, calling the resulting choice “the servant’s” locates the act without identifying who authored the morally decisive difference.

The objection applies to any system pairing a creator of acts with judgment by genuine desert. What makes it pointed here is the combination of prior inscription and khalq afʿāl al-ʿibād. The defense succeeds only if acquisition or choice contributes something to authorship that God did not determine in creating the act. That is exactly what the Ashʿari and Maturidi accounts dispute, and exactly what a foreknowledge analogy never addresses.

Depth: what this problem touches

The doctrine is structurally central to the argument because divine justice in reward and punishment is connected to the Day of Judgment, prophetic warning, and the taklīf structure under which humans are commanded and judged. If genuine desert is not explained on the orthodox metaphysics, the difficulty extends beyond one isolated chapter of theology. This is a claim about doctrinal dependence, not about what theology as a whole is “for.”

That is why the question keeps returning, and why kasb, bila kayf, the two tablets, and the foreknowledge gloss keep being transmitted. The full analysis behind this page, including the assessment of how popular explanations handle (and avoid) the textual form of the problem, is in the reference section: Qadar, Agency, and the Pattern of Theological Relabeling in Islam.

Verdict

Each of the five answer families examined here ends somewhere different. Foreknowledge answers how an act can be known without being caused, but not how a divinely created act can be deserved. Kasb preserves the mainstream formula while its substantive accounts remain contested or marginal. The Maturidi element of choice avoids the crude created-or-uncreated dilemma by treating choice as non-entitative, leaving open whether that relation supplies sourcehood sufficient for desert. Bila kayf preserves the commitments without supplying a mechanism. And the Muʿtazila resolve the strongest form of the problem by giving humans authorship of their acts — the premise orthodoxy rejects.

Argued. The remaining dilemma concerns sourcehood, not compulsion. If the servant supplies a genuinely originating contribution sufficient for desert, exhaustive divine determination of the morally relevant difference has been limited. If Allah supplies the decree, deliberation, desire, circumstances, and act, the act may still be attributable to the servant because it expresses the servant’s willing psychology; the disputed step is retributive desert before the creator of that psychology and act. A divine-command account of justice still has content (it may express consistency with divine nature, promises, and internally defined rights), but it supplies no independent standard capable of ruling out the treatment under dispute. The objection therefore depends openly on a sourcehood condition for desert that orthodox compatibilism rejects; it is a philosophical challenge to that theory, not a simple internal contradiction.

If the question that brought you here has fear underneath it rather than curiosity, Scared to leave Islam because of hell addresses that directly. The teacher analogy and its relatives are examined one by one at Why the standard explanations of qadar don’t work.


Full treatments: Qadar, Agency, and the Pattern of Theological Relabeling in Islam · How this site works