Gunmen killed 25 women and wounded at least eight people Saturday when they stormed two buildings in a residential Baghdad compound reputed to be used for prostitution, police and government sources said.