Belief in Monotheism (Tawheed) is the first requirement for acquiring forgiveness in the Hereafter. There are plenty of verses throughout the Quran that make this point crystal clear.
Good deeds of such a person will be rendered fruitless in the Hereafter and they will dwell in Hell.
(The parable of the deeds of those who disbelieve in their Lord is that of ashes fiercely blown away by wind on a stormy day. They will gain nothing from what they have earned. That is ˹truly˺ the farthest one can stray.)Ibrahim 14: 18
(As for the disbelievers, their deeds are like a mirage in a desert, which the thirsty perceive as water, but when they approach it, they find it to be nothing.) An-Nur 24:39
(Then We will turn to whatever ˹good˺ deeds they did, reducing them to scattered dust.) Al-Furqan 25: 23
التوحيد هو الشرط الأساسي لأن يغفر الله ذنب من يشاء في الآخرة. كثير من الآيات في القرآن الكريم تدل على ذلك.
الذي لا يؤمن باالله أو يشرك به ، كل أعماله الصالحة في الدنيا ستذهب هباء في الآخرة بسبب كفره أو الشرك.
( مَّثَلُ الَّذِينَ كَفَرُوا بِرَبِّهِمْ ۖ أَعْمَالُهُمْ كَرَمَادٍ اشْتَدَّتْ بِهِ الرِّيحُ فِي يَوْمٍ عَاصِفٍ ۖ لَّا يَقْدِرُونَ مِمَّا كَسَبُوا عَلَىٰ شَيْءٍ ۚ ذَٰلِكَ هُوَ الضَّلَالُ الْبَعِيدُ ﴿
إبراهيم 14: 18
(وَالَّذِينَ كَفَرُوا أَعْمَالُهُمْ كَسَرَابٍ بِقِيعَةٍ يَحْسَبُهُ الظَّمْآنُ مَاءً حَتَّىٰ إِذَا جَاءَهُ لَمْ يَجِدْهُ شَيْئًا)
النور 24: 39
(وَقَدِمْنَا إِلَىٰ مَا عَمِلُوا مِنْ عَمَلٍ فَجَعَلْنَاهُ هَبَاءً مَّنثُورًا ﴿٢٣ )
الفرقان 25: 23