Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:100:9

But does he not know that when the contents of the graves are scattered  

Does he not know that, when that which is in the graves, in the way of the dead, is strewn, when it is turned over and brought out, that is to say, ˹that when˺ they are raised,
القرآن:١٠٠:٩

أَفَلَا يَعْلَمُ إِذَا بُعْثِرَ مَا فِي الْقُبُورِ  

{أفلا يعلم إذا بُعثر} أثير وأخرج {ما في القبور} من الموتى، أي بعثوا.