Ahl al-Sunnah believe that after death, in the life of the barzakh, two angels question the deceased about his Lord, his religion, and his prophet; the believer answers with firmness while the disbeliever and hypocrite fail. This is indicated by Allah's words, 'Allah keeps firm those who believe with the firm word in this life and in the Hereafter,' which the Prophet ﷺ explained as referring to the questioning in the grave. Allah also mentions the punishment of Pharaoh's people who 'are exposed to the Fire morning and evening,' showing torment before the Day of Judgment. The Prophet ﷺ regularly sought refuge from the punishment of the grave, confirming its reality even though it is part of the unseen.
Q&A · Belief
What is the punishment and questioning of the grave?
Evidence — the daleel
On deen2u
Informational, not a personal fatwa. Consult a qualified scholar for rulings on your situation.