Mishkat al-Masabih 578
وَعَنْ عَبْدِ اللَّهِ بْنِ عَمْرِو بْنِ الْعَاصِ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: أَنَّهُ ذَكَرَ الصَّلَاةَ يَوْمًا فَقَالَ: «مَنْ حَافَظَ عَلَيْهَا كَانَتْ لَهُ نُورًا وَبُرْهَانًا وَنَجَاةً يَوْمَ الْقِيَامَةِ وَمن لم يحافظ عَلَيْهَا لم يكن لَهُ نور وَلَا برهَان وَلَا نجاة وَكَانَ يَوْمَ الْقِيَامَةِ مَعَ قَارُونَ وَفِرْعَوْنَ وَهَامَانَ وَأُبَيِّ بْنِ خَلَفٍ» . رَوَاهُ أَحْمَدُ وَالدَّارِمِيُّ وَالْبَيْهَقِيُّ فِي شُعَبِ الْإِيمَانِ
From ʿAbdullah ibn ʿAmr ibn al-ʿAs, from the Prophet ﷺ: He mentioned the prayer one day and said: "Whoever keeps it up, it will be for him a light, a proof and salvation on the Day of Resurrection. And whoever does not keep it up will have no light, no proof and no salvation, and on the Day of Resurrection he will be with Qarun, Firʿawn, Haman and Ubayy ibn Khalaf." Reported by Ahmad, ad-Darimi, and al-Bayhaqi in Shuʿab al-Iman.