Grand Mufti of Pakistan, senior khalifa of Hakeemul Ummat ra, Mufti Mohammad Shafi’i ra wrote:
Wise men have said:
مَنْ مَاتَ فَقَدْ قَامَتْ قَََيَامَتُه‘
meaning that the individual who dies his Qiyamah happens at that very moment.
(That is, so because the opportunity for virtuous action ends and some glimpses from the reward (or punishment) of the hereafter start from the grave).
(M ‘aariful Quran volume 3 page 500)