Muhammad prayed over the chief hypocrite's funeral; Q9:84 was revealed prohibiting it

Prophetic Character Logical Inconsistency Moderate Muslim 2774, Muslim 2400
"When Abdullah ibn Ubayy ibn Salul died... 'Umar caught hold of the garment of Allah's Messenger and said: 'Allah's Messenger, are you going to conduct prayer for this man, whereas Allah has forbidden you to offer prayer for him?' Thereupon Allah's Messenger said: 'Allah has given me an option as He has said: You may beg pardon for them or you may not beg pardon for them...' He was a hypocrite, and Allah's Messenger offered prayer for him, and it was on this occasion that Allah revealed the verse: 'Do not offer prayer for any one of them at all and do not stand upon their graves' (Q9:84)."

What the hadith says

When the 'leader of the hypocrites' died, Muhammad overruled Umar's objection and prayed the funeral prayer over him. Afterward, Q9:84 was revealed prohibiting exactly what he had done — confirming retrospectively that Umar's original position was correct and Muhammad's was wrong.

Why this is a problem

David Margoliouth, in 'Mohammed and the Rise of Islam' (1905), covers the pattern of convenient revelations that corrected prophetic behavior after the fact. Critic Robert Spencer, in 'The Truth About Muhammad' (2006), treats Q9:84 as a canonical example of this pattern: Q9:80 had already addressed hypocrites with 'even if you ask forgiveness seventy times — Allah will never forgive them,' which is not genuinely ambiguous. Umar read it correctly as precluding funeral prayer for a known hypocrite; Muhammad overruled him and cited divine discretion as his authority; then the corrective revelation arrived only after the action was completed. Spencer identifies the structural problem: if the Prophet can misread his own scripture on an active, public, ceremonial occasion and require post-hoc correction, the reliability of his interpretation of everything else he received and transmitted is harder to assert with confidence. The tradition found nothing embarrassing about this sequence — it was preserved faithfully.

The Muslim response

Muslim scholars argue that Muhammad's prayer for Abdullah ibn Ubayy was an act of prophetic mercy and exemplary compassion, consistent with Q9:80's permission to seek forgiveness — which he read as still leaving discretionary space before Q9:84 explicitly removed it. Allah used this incident to establish a precise rule, and the post-hoc revelation is not evidence of prophetic error but of divine pedagogy: by allowing Muhammad to act, then clarifying through revelation, Allah established the rule in a memorable and authoritative way. The prophets receive revelation progressively; Q9:84 completes what Q9:80 left implicit. That Umar anticipated the final ruling reflects his personal insight, not a failure of Muhammad's.

Why it fails

Q9:80's text — 'even if you ask forgiveness seventy times, Allah will never forgive them' — is not progressively developing material. The dominant classical tafsir (Ibn Kathir) reads 'seventy times' as idiomatic hyperbole for an indefinitely large number, a reading the hadith's own quoted wording reflects when the Prophet reasons 'seventy times and seventy more' — so the verse did leave discretionary space, and Spencer and Margoliouth overstate the case in treating it as an unambiguous refusal with no qualifier. The decisive point survives regardless: a later corrective verse (Q9:84) overruled a completed public act. A self-correcting revelation system that corrects after the action is complete fails the primary purpose of revelation — to guide conduct before it occurs. If the Prophet performed a public ceremonial act that his own scripture then had to overturn, the claim that he reliably transmitted and implemented divine commands across the entire corpus is more difficult to sustain. 'Divine pedagogy' is a framing that converts an embarrassing post-hoc correction into a teaching moment — but the teaching moment was purchased at the cost of the Prophet publicly acting in a way his own scripture subsequently prohibited.

See it in the Sahih Muslim catalog
Topics Prophetic Character Logical Inconsistency

More on Prophetic Character