Sura Aal-i-Imraan

3:90

إِنَّ ٱلَّذِينَ كَفَرُوا۟ بَعْدَ إِيمَٰنِهِمْ ثُمَّ ٱزْدَادُوا۟ كُفْرًۭا لَّن تُقْبَلَ تَوْبَتُهُمْ وَأُو۟لَٰٓئِكَ هُمُ ٱلضَّآلُّونَ

De som förnekar sanningen efter att ha antagit tron och som därefter förhärdas i sin förnekelse - deras ånger skall inte godtas; nej, de har övergett den raka vägen [utan återvändo].

Tafsir 3:90

Those who disbelieve after having faith, and stick to this disbelief until they die, then repenting to Allah and asking for forgiveness at the time of death, will not have this accepted from them, as the time for acceptance would have expired. They are those who have lost their way from the straight path which leads to Allah.