At least 27 were killed and 35 wounded in the third big attack on the Shia community in Kabul since July.