A suicide bomber detonated explosives at a Shiite mosque in western Baghdad on Sunday, killing at least 15 people, security and medical officials said.