And fight against them until there is no fitnah1 and [until] the religion [i.e., worship], all of it, is for Allāh.2 And if they cease - then indeed, Allāh is Seeing of what they do.
O believers, fight your disbelieving enemies until there is no more idolatry or Muslims being stopped from Allah’s religion, when religion and obedience is for Allah alone without any partner being put alongside Him. If the disbelievers stop their idolatry and preventing Muslims from Allah’s religion, then leave them, because Allah sees what they do and nothing is hidden from Him.