A suicide bomber detonated an explosives-rigged vehicle at a popular Baghdad ice cream shop, killing at least eight people, security officials said on Tuesday.
The overnight attack in the Karrada district in central Baghdad also wounded at least 30 people, officials said.
The Islamic State group-linked Amaq propaganda agency said the suicide bomber targeted a "gathering of Shiites."
IS considers members of Iraq's Shiite Muslim majority to be heretics and frequently carries out attacks against them.
The bomber struck just days after the start of the holy Muslim fasting month of Ramadan, during which Iraqis often stay out late shopping or socialising after breaking their daily fast.
Images and footage posted on social media showed the devastating impact of the blast, which ripped through the crowded area around Al-Faqma ice cream shop, scattering rubble across the street.
One photo showed cups of ice cream scattered on the blood-stained ground following the attack.
Brett McGurk, the envoy to the US-led anti-IS coalition, condemned the attack and expressed solidarity with Iraq.
"ISIS terrorists tonight in Baghdad target children & families enjoying time together at an ice cream shop. We stand w/Iraq against this evil," McGurk said on Twitter, using an alternate acronym for IS.
IS overran large areas north and west of Baghdad in 2014, but Iraqi forces backed by US-led air strikes have since regained much of the territory they lost and are now fighting to retake the last jihadist-held areas in second city Mosul.
But defeats on the battlefield have not prevented IS from carrying out deadly attacks targeting civilians, including a bombing in the Karrada area last year that killed more than 300 people.
Source: National News Agency