As soon as the procession reached near the mosque and stone pelting started

You may have missed