Thousands of Muslims on hajj in Mecca took part on Wednesday in the symbolic "stoning of the devil" ritual.