DUBAI — Al-Qaeda’s leader ordered the group’s Syrian affiliate, the al-Nusra Front, to end fighting with its jihadist rivals, in an audiotape posted online on Friday.

Ayman al-Zawahiri, in a message to al-Nusra chief Abu Mohammed al-Jolani, ordered that “all soldiers of the front immediately cease fighting” other jihadist groups.

Instead, he urged him to “devote himself to combat the enemies of Islam, specifically Baathists, Shiites and their allies.”

The Baath is the party of Syrian President Bashar al-Assad. Al-Qaeda is a hardline Sunni organization that considers Shiite Muslims, including the many volunteers from neighboring Iraq and Lebanon fighting alongside Assad’s forces, to be heretics.

Powerful rebel groups in Syria, including al-Nusra, have been locked in fierce fighting with the Islamic State of Iraq and the Levant since January that has killed thousands of fighters.

ISIL was initially welcomed by other rebels, who have been fighting to topple Assad since 2011, but allegations of brutal abuses against civilians as well as rival opposition fighters sparked a backlash.

As far back as last June, Zawahiri weighed in to ISIL’s involvement in Syria, designating al-Nusra as responsible for operations there and ordering ISIL chief Abu Bakr al-Baghdadi to restrict the group’s activities to its home base in Iraq.

In his latest message, he renewed that instruction, urging him to “devote himself to wounded Iraq, which needs you to redouble your efforts” there.

But Baghdadi has refused to budge.

In his message Friday, Zawahiri said ISIL’s presence “has been a political disaster for Syrians” because it has created divisions among them, which has proved to be “a gift to Assad.”