Allah Does Not Guide People Who Disbelieve After they Believed, Unless They Repent
Ibn Jarir recorded that Ibn `Abbas said, "A man from the Ansar embraced Islam, but later reverted and joined the polytheists. He later on became sorry and sent his people to, `Ask the Messenger of Allah ﷺ for me, if I can repent.' Then,
On a superficial view of the verse كَيْفَ يَهْدِي اللَّـهُ : 'How shall Allah give guidance...' (86), there emerges a doubt that whoever turns an apostate receives no guidance afterwards, although, the fact is contrary to this. There are many who, after having become apostates, re-embrace the faith and become recipients of guidance.
The answer is that the withholding of guidance mentioned here is in accordance with common usage. For instance, some criminal when punished by a certain ruler may say, 'I have been given a special treatment by the ruler with his own hands.' And in answer to him, it is said: 'Why are we going to give a special treatment to such a criminal?' That is, there is just no special treatment called for in this case, while it does not mean that such a person cannot, in any way, become deserving of special treatment even if he behaved well. (Bayern a1-Qur'an)
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 83–90
Discovering God is to find an eternal reality. It is to become a co-traveller or a travelling companion of the whole universe. Those who find God in this way, can rise above all kinds of prejudices. They recognize truth in all situations, whether the call of truth comes through an ‘Israelite prophet’ or an ‘Ishmaelite prophet’. But those who lead their lives on the level of community-oriented thinking can recognize the truth only when it comes to them from a member of their own community. If God selects as His messenger someone from outside their community, then the message he brings does not lodge in their minds, not even when their own hearts bear witness to the veracity of that message. Even if such ‘believers’ regard themselves as true believers, they will find their names deleted from the list of believers in the Hereafter. This is because they recognized the truth only in relation to their community rather than in relation to God. Not acknowledging a message of truth, which has been testified to by their own hearts, is the worst crime in the eyes of God. Such people will be condemned in the Hereafter and all creatures will join in this condemnation.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.