A bomb exploded inside a mosque in west Kabul on Friday, killing at least four people and wounding an unknown number of others, an Afghan government official said. Interior Ministry spokesman Tariq Arian had no additional details about the explosion in Afghanistan's capital. Violence has spiked in recent weeks in Afghanistan with most of the attacks claimed by an ISIS affiliate. An ISIS suicide bomber attacked a mosque in Kabul earlier this month, killing the prayer leader and wounding eight others. The United States blamed the ISIS affiliate for a horrific attack last month on a maternity hospital in the capital that killed 24 people, including two infants and several new mothers. Washington's peace envoy Zalmay Khalilzad was in the region earlier this week trying to resuscitate a US peace deal with the Taliban which it is expected would eventually enlist the insurgent group in the fight against the ISIS affiliate.