Can Muslims Ask for Mercy for Their Parents? (17:24), (9:113)
17:24 instructs believers to pray for mercy for their parents. 9:113 forbids asking forgiveness for idol worshippers, even if they are relatives. The claim is that these two verses contradict each other.
The false claim: 17:24 permits supplication for parents while 9:113 cancels it - a contradiction.
The two verses address different situations defined by two distinct conditions: whether the parents are alive or dead, and whether they are believers or idol worshippers. Once these conditions are held clearly in view, the apparent contradiction disappears.
[17:23-24] Your Lord has commanded that you shall not worship except Him, and your parents shall be honored. As long as one or both of them live, you shall never say to them, "Uff" (the slightest gesture of annoyance), nor shall you shout at them; you shall treat them amicably. And lower for them the wings of humility, and kindness, and say, "My Lord, have mercy on them, for they have raised me from infancy."
The context specifies parents who are alive - "as long as one or both of them live." The supplication for mercy is offered for living parents. This is an act of love and ongoing care for people who are present and whose fate remains open.
[9:113] It is not befitting for the prophet and those who believe to ask forgiveness for the idol worshipers, even if they were their nearest of kin, once they realize that they are destined for Hell.
Two conditions define this prohibition. The parents must be mushrikeen - idol worshippers - and it must have become clear that they are destined for the Fire. Asking forgiveness for a person who has died as a disbeliever, or whose persistent rejection of God has made their fate evident, is not permitted. The case of Abraham illustrates this precisely:
[9:114] Abraham asked forgiveness for his father only because of a promise he had made to him. But as soon as it became clear that he was an enemy of GOD, he disowned him. Abraham was compassionate, clement.
The principle that emerges is coherent and complete: supplication for mercy is permitted for living parents who are not idol worshippers. It is not permitted for idol worshippers, whether living or dead, once their condition is clear. 17:24 and 9:113 govern different cases and stand in complete harmony.