It is not fitting for the Prophet and those who believe to seek forgiveness for the polytheists[83], even if they are close relatives, after becoming clear to them that they are the people of Blazing Fire.
[83] When Abu Tālib, the Prophet’s uncle, died as a disbeliever, the Prophet (ﷺ) said: “By Allah, I shall keep on asking for forgiveness for you, unless I am told to cease!” Then this verse was revealed. [Al-Bukhārī: 3884, Muslim: 24].