Surah At-Tawbah, ayah 113

9:113

مَا كَانَ لِلنَّبِيِّ وَٱلَّذِينَ ءَامَنُوٓاْ أَن يَسۡتَغۡفِرُواْ لِلۡمُشۡرِكِينَ وَلَوۡ كَانُوٓاْ أُوْلِي قُرۡبَىٰ مِنۢ بَعۡدِ مَا تَبَيَّنَ لَهُمۡ أَنَّهُمۡ أَصۡحَٰبُ ٱلۡجَحِيمِ ١١٣

Mā kāna lin-nabiyyi walladhīna āmanū an yastaghfirū lil-mushrikīna walaw kānū ulī qurbā mim ba'di mā tabayyana lahum annahum ashābul-jahīm

It is not for the Prophet and those who have believed to ask forgiveness for the polytheists, even if they were relatives, after it has become clear to them that they are companions of Hellfire.