مَن كَفَرَ بِٱللَّهِ مِنۢ بَعْدِ إِيمَٰنِهِۦٓ إِلَّا مَنْ أُكْرِهَ وَقَلْبُهُۥ مُطْمَئِنٌّۢ بِٱلْإِيمَٰنِ وَلَٰكِن مَّن شَرَحَ بِٱلْكُفْرِ صَدْرًۭا فَعَلَيْهِمْ غَضَبٌۭ مِّنَ ٱللَّهِ وَلَهُمْ عَذَابٌ عَظِيمٌۭ
Sure An-Nahl
Tafsir 16:106
Whoever denies Allah after having faith in Him is in one of two situations: His denial is by means of a statement or action that he was coerced to make or do, whilst his heart is firm on his faith. This person is a believer. The second situation is when the person is content with and comfortable with such denial. Such a person and others like him are apostates from Islam, the anger of Allah is on them and in the afterlife they will receive a great punishment.