مَا كَانَ لِلنَّبِىِّ وَٱلَّذِينَ ءَامَنُوٓا۟ أَن يَسْتَغْفِرُوا۟ لِلْمُشْرِكِينَ وَلَوْ كَانُوٓا۟ أُو۟لِى قُرْبَىٰ مِنۢ بَعْدِ مَا تَبَيَّنَ لَهُمْ أَنَّهُمْ أَصْحَٰبُ ٱلْجَحِيمِ
Commentary:
When a true believer is he who possesses the qualities mentioned in the preceding verse, he can never hesitate to sever his connection with disbelievers, if and when called upon to do so. It is in two ways that it can become "plain" that an idolater or a disbeliever is an inmate of Hell: firstly, if and when God informs His Prophet through some revelation that a certain idolater will not believe and will die as a disbeliever; secondly, when an idolater actually dies without repenting of idolatry. In either case, it is not permissible to pray for such idolaters. In ordinary circumstances, however, it is not disallowed to pray for disbelievers. The Holy Prophet is reported to have once said, "There lived a Prophet who, even though he was severely wounded by his people, went on praying to God, saying, 'My Lord, forgive my people, for they know not what they are doing.'" It was really to himself that the Holy Prophet referred in this saying. He was referring to the treatment he received at the hands of the people of Ta’if, and to the prayer that he, while bleeding and wounded, offered for them.