Initial reports said the attackers fired from the mosque within in the city , 30 miles west of Baghdad .
The Centcom statement said the gunmen appeared to have fired from the mosque in the city , 50 km ( 32 miles ) west of Baghdad .