2:161
إِنَّ ٱلَّذِينَ كَفَرُوا۟ وَمَاتُوا۟ وَهُمْ كُفَّارٌ أُو۟لَـٰٓئِكَ عَلَيْهِمْ لَعْنَةُ ٱللَّهِ وَٱلْمَلَـٰٓئِكَةِ وَٱلنَّاسِ أَجْمَعِينَ
inna alladhīna kafarū wamātū wahum kuffārun ulāika ʿalayhim laʿnatu l-lahi wal-malāikati wal-nāsi ajmaʿīna
As for those who disbelieve and die as disbelievers, God rejects them, as do the angels and all people.
Verily, those who disbelieve, and die while they are disbelievers, it is they on whom is the Curse of Allâh and of the angels and of mankind, combined.