Two bombs have exploded outside a mosque in the Iraqi city of Baquba, killing 30 people, as worshippers were leaving the building following prayers, police said.

Officials told The Associated Press that one of the bombs was hidden inside an airconditioning unit next to one of the mosque's windows.

A further 25 people were wounded in the blasts, which happened on Friday shortly after midday prayers.

The second of the two explosions injured people who had rushed to help those hurt in the first.

There was no immediate claim of responsibility for Friday's attack.

More than 4,000 people have been killed in violent attacks in the country since the start of April, including 804 just in August, according to United Nations figures.

Baqouba itself was hit with deadly violence just this week.

Three car bombs targeting outdoor markets killed at least 10 civilians and wounded more than 30 there on Tuesday.

Elsewhere in Iraq police said a roadside bomb killed two soldiers and wounded two others in the northern city of Mosul.

Authorities also said gunmen shot and killed Khalaf Hameed, a local municipal official in Shora district, just south of Mosul.

Source: Agencies