The Islamic State group’s local affiliate claimed credit for the attack in a heavily Shiite neighborhood of western Kabul’s Dasht-e-Barchi neighborhood, saying one of its fighters used a suicide bomb vest in the assault.