Pagan children's afterlife depends on what they "would have done" as adults

Moral Problems Logical Inconsistency Moderate Bukhari 6597, Bukhari 1383
"Allah's Apostle was asked about the children of (Mushrikeen) pagans. The Prophet replied, 'Since Allah created them, He knows what sort of deeds they would have done.'"

What the hadith says

When asked about the eternal fate of children who died in pagan families before reaching maturity, Muhammad replied that Allah knows what they would have done had they lived, and judges accordingly.

Why this is a problem

Ibn Warraq in 'Why I Am Not a Muslim' (1995) and WikiIslam's documentation of children's afterlife rulings both address this hadith. It applies counterfactual punishment: a child who died at age three could go to Hell because of what they would have done as an adult had they lived. The counterfactual is treated as having the same moral weight as actual deeds. Punishment requires an actual wrongful act; punishing people for the worst possible version of themselves — a version that never existed — abandons that principle entirely.

The same logic appears in the Quran's Khidr narrative (18:74–81), where Khidr kills a child because the child would have grown up to be evil — a defense that merely relocates the problem, since the moral logic of punishing an unborn act is identical whether the agent is Khidr or Allah. Islamic theology has internalized the idea that pre-cognition of future sin justifies present punishment. This is a coherent internal position, but it is incompatible with the moral principle — found in most ethical frameworks — that people are only accountable for what they actually do.

The Muslim response

The majority position among classical scholars, including al-Nawawi and Ibn Hajar al-Asqalani, is that children who die before puberty go to Paradise, and the hadith's ambiguous phrasing is read as consistent with that merciful outcome — Allah knows what they would have done, and extends mercy accordingly. On this reading, the hadith does not endorse counterfactual punishment but rather acknowledges divine knowledge while leaving the ultimate outcome to divine mercy. Many scholars also hold the imtihan fi'l-akhira (test in the hereafter) position, drawn from a parallel hadith: the children of pagans and the ahl al-fatra are given a real command or test on the Day of Judgment and judged on their actual response, so "Allah knows what they would have done" is read as foreknowledge rather than the basis of judgment. A minority position (Ibn Hazm) holds, on the basis of the fitra, that even the children of unbelievers are born Muslim and enter Paradise if they die young; this lenient view stands apart from the more common positions and does not represent mainstream Sunni consensus.

Why it fails

The majority position is a theological preference imposed on a hadith that does not say it. The plain reading — Allah judges based on what they would have done — is neutral between mercy and punishment, and the logic it invokes (counterfactual adult deeds as the basis for judgment) is the problem regardless of which direction the judgment goes. A tradition that uses pre-cognition of future sin as grounds for any judgment has accepted the logic; the majority position then hopes Allah applies it mercifully, which is a hope, not a principle. The imtihan (test in the hereafter) reading fares no better: the actual test it posits appears nowhere in this hadith and is imported from a separate tradition to harmonize the texts, and the Khidr parallel shows the same counterfactual logic operating elsewhere in the tradition without any such test and without a mercy-default — which is why the concern is not adequately addressed by pointing to classical majority opinion or to a hereafter test this report does not contain.

See it in the Sahih al-Bukhari catalog
Topics Moral Problems Logical Inconsistency

More on Moral Problems