Iraqi officials say a car bomb exploded near a Shi'ite mosque on the outskirts of Mosul , killing nine people and wounding others .