The attackers struck during the main weekly Muslim prayers at the mosque in Amran province, north of the capital, the news agency said.