Shia and Sunni Muslims, including local officials and security forces took part in the Friday prayers, al-Sumaria news reported.
It was held in the city’s grand mosque some two months after its liberation.
Iraq’s Army and popular forces retook the city, which is the capital of Anbar province back in late December 2015.
It had been under the control of the ISIL terrorists since May last year.
The ISIL Takfiri group made swift advances in much of northern and western Iraq over the summer of 2014, after capturing large swathes of northern Syria.
However, a combination of concentrated attacks by the Iraqi military and the volunteer forces, who rushed to take arms after top Iraqi cleric Ayatollah Ali al-Sistani issued a fatwa calling for fight against the militants, blunted the edge of the ISIL offensive.