The torment of the grave is not a doctrine invented by later hadith collections, although the Quran presents it briefly rather than in a long, systematic passage. The Quran gives the clearest indication in 40:46, while authentic Sunnah explains its nature and details.

What the objection gets right

The objection is fairly stated. Quran 40:46 does not use the technical phrase "punishment of the grave." It says that Pharaoh's people are exposed to the Fire morning and evening, then says that when the Hour is established they will be made to enter the severest punishment. One could therefore argue that the first sentence describes only a showing of the Fire, not actual punishment before resurrection.

That grammatical observation deserves consideration, but it does not settle the meaning. Being repeatedly exposed to the Fire is itself a form of torment, and the verse distinguishes it from the later, greater punishment at the Hour. The natural reading is two stages: an intermediate punishment, followed by the final punishment after judgment.

They are exposed to the Fire morning and evening. And on the Day the Hour is established: "Admit Pharaoh's people into the severest punishment."

Quran 40:46

What the Quran indicates

The verse does not describe the Fire as merely being shown in an educational display. It describes an ongoing exposure before the Hour, then explicitly marks the Hour as a later event. This is precisely how the early exegetes, including al-Tabari and Ibn Kathir, understood it: the first punishment occurs in the intermediate life, while the second is the final punishment.

The Quran also describes death as followed by a barrier until resurrection:

Behind them is a barrier until the Day they are resurrected.

Quran 23:100

This barzakh is not simply nonexistence. The Quran describes people who are killed in God's cause as alive and provided for, even though their worldly life has ended (Quran 3:169). Thus, an intermediate state involving blessing or punishment is entirely consistent with its framework.

Why the Sunnah is decisive here

The Prophet Muhammad (PBUH) repeatedly taught people to seek refuge from the punishment of the grave, and he passed by two graves whose occupants were being punished. These reports are recorded in both Sahih al-Bukhari and Sahih Muslim. That is not a marginal report or a single isolated narration; the doctrine is supported by numerous authentic hadith and was accepted by the major scholars of Islamic creed.

Seek refuge in Allah from the punishment of the grave.

Sahih al-Bukhari; Sahih Muslim

The Quran itself commands believers to obey the Messenger and accept his explanation. It does not claim to list every doctrine and ritual detail independently of him. The Quran gives the foundation; the authentic Sunnah clarifies matters that the Quran states more briefly.

So the evidence does establish an intermediate punishment and blessing after death. It does not establish that every grave occupant is punished, nor that the punishment replaces the final judgment. The final judgment remains decisive; the barzakh is an intervening reality, not a denial of God's justice.