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:17:104

And We said after Pharaoh to the Children of Israel, "Dwell in the land, and when there comes the promise of the Hereafter, We will bring you forth in ˹one˺ gathering."  

And after him We said to the Children of Israel, ‘Dwell in the land; but when the promise of the Hereafter, namely, the Hour, comes to pass, We shall bring you ˹gathered˺ in mixed company’, all together, you and them.
القرآن:١٧:١٠٤

وَقُلْنَا مِنْ بَعْدِهِ لِبَنِي إِسْرَائِيلَ اسْكُنُوا الْأَرْضَ فَإِذَا جَاءَ وَعْدُ الْآخِرَةِ جِئْنَا بِكُمْ لَفِيفًا  

{وقلنا من بعده لبني إسرائيل اسكنوا الأرض فإذا جاء وعد الآخرة} أي الساعة {جئنا بكم لفيفا} جميعا أنتم وهم.