The explosion destroyed parts of the mosque and wounded at least two people .