The statement that it is absolutely forbidden to ask for mercy and seek forgiveness from the people of innovation. This is the statement of the renegade Kharijites and the people of misguidance who deviate from the truth.
The comprehensive principle in this is that everyone who says there is no god but God and bears witness that Muhammad is the Messenger of God and we do not know of him being an apparent disbeliever, then prayers should be prayed over him and forgiveness should be asked for him. When God Almighty forbade asking forgiveness for the polytheists in His saying {It is not for the Prophet and those who have believed to ask forgiveness for the polytheists even if they were relatives...} this was evidence of the permissibility of asking forgiveness for the people of innovations. And the sins are counted among the people of the Qiblah.
الجواب الشرعي
المفتي / المجيب: His Eminence Sheikh Mufti Abu Dawoud Abdul Rahman Al-Hasami
In the name of God, the Most Gracious, the Most Merciful, the question about a man who drank alcohol and died while he was a drinker. The answer was if he was a drinker and interrupted prayer. I mean, these days you often find a drinker who interrupts prayer. I mean, this is noticeable in these days. Therefore, do not judge me for drinking alcohol, which is a sin. No, I am judging you for his being an interruption of prayer, because Often these days you can hardly find a man who drinks alcohol and strives for the sake of God and prays and so on. Often in this society, the one who drinks alcohol often stops praying, so if one is found drinking alcohol but he is praying, but he is praying, like what happened during the era of the Prophet, may God bless him and grant him peace, the man would drink alcohol and struggle for the sake of God and pray. So it will be a big deal for him, but in these days if he drinks alcohol, he will be interrupting prayer, so he is an infidel, and God does not forgive disbelief and polytheism. This means that this is a matter. The second matter is that Abu Bakr, may God Almighty be pleased with him, stipulated that the one who withholds zakat, leave the one who interrupts prayer, the one who withholds zakat, and the one who withholds zakat is less bad than the one who interrupts prayer, meaning he stipulated that they must bear witness. Those who were killed by fire, stipulated that the fighting and war should not stop until they testify about those killed by fire, and Abu Bakr, of course, is not one of the Kharijites. Abu Bakr is not one of the Kharijites, to the extent that it is said to him, for example, “This one prevents zakat,” and the one who prevents zakat in his disbelief is different, so it is not permissible for him to be testified to by fire. This is the philosophy of the Murji’ah, but Abu Bakr, may God Almighty be pleased with him, did not stop. Fighting until one bears witness... It is not halted to fight over one who withholds zakat until they bear witness to those killed by fire. So if this one prevents zakat, then what about one who interrupts prayer? How do I interrupt prayer? Therefore, we say that if he interrupts prayer, it is not permissible to ask forgiveness for him. This is the basis of the fatwa.