It is not right for the idolaters to tend God’s places of worship while testifying to their own disbelief: the deeds of such people will come to nothing and they will abide in Hell.
It is not for such as join gods with Allah, to visit or maintain the mosques of Allah while they witness against their own souls to infidelity. The works of such bear no fruit: In Fire shall they dwell.