Millions of people crowded into the holy site to throw small stones at walls called jamarat , as part of a ritual representing the symbolic stoning of the devil .