There is no mention of punishment in the grave in the
Quran but there is only a passing mention of an immediate
punishment of Pharoah and his people(like in sura Anfal).
But there is large number of ahadith,scary and hair-raising,
about Azab-e-Qabr. These ahadith suggest that an inmate of grave
encounters enormous snakes, scorpions and gigantic angels
(nakir and munkir)thrashing the inmates.Does not Azab-e-qabar negates
te basic principles of justice.How should a person could be subjected
to punishment without hisab kitab(trial)?