8/7/2017: An earlier version of this article stated that the Hashd al-Shaabi, is a Shia unit also known as the Badr militia. That is incorrect. The Badr militia is only one element of Hashd al-Shaabi or Popular Mobilisation Units. We regret the error.

Haidar al-Abadi, Iraqi prime minister, has rejected a call by Muqtada al-Sadr, the powerful Iraqi Shia leader, to dissolve a controversial militia involved in battling the Islamic State of Iraq and the Levant (ISIL) group.

Hashd al-Shaabi, an umbrella organisation that includes armed groups like the Badr militia, was established in 2014 with the avowed purpose of fighting ISIL, also known as ISIS, after it captured vast expanses of territory in northern and western Iraq.

"The Hashd al-Shaabi … is for Iraq and will not be dissolved," Abadi said in the capital Baghdad on Saturday.

"The next phase after liberating the land from Daesh is the battle of the unity of word." Daesh is the Arabic term for ISIL.

Hashd al-Shaabi has faced accusations of abuses against civilians in Sunni-majority areas.

OPINION: The future of militias in post-ISIL Iraq

Last month, the Iraqi army recaptured Mosul, the country's second-largest city, from ISIL, which overran the city in 2014.

Speaking to supporters on Friday, Sadr called for dissolving Hashd al-Shaabi and absorbing its fighters in the Iraqi army.

Sadr issued the statement after his visit to Saudi Arabia, where he held talks with the kingdom's leadership.

He met Saudi Crown Prince Mohammed bin Salman in the Red Sea port city of Jeddah and discussed issues of common interest, Reuters news agency reported on July 30.

Anti-American figure

The visit came with the Gulf region embroiled in its worst crisis in years - a dispute between Qatar and four Arab countries led by Saudi Arabia which severed ties with Qatar.

Sadr, an anti-American figure, commands a large following among the urban poor of Baghdad and the southern cities, including Saraya al-Salam, or Peace Brigades militia.

He is now seen as a nationalist who has repeatedly called for protests against corruption in the Iraqi government, and his supporters have staged huge protests in Baghdad calling for electoral reform.

On Thursday, Sadr issued a new call for protests in Baghdad and other cities to denounce "corrupt politicians" and demand reforms.