At the end of the first day of Hajj, Muslims walk to Muzdalifah, where they collect 49 pebbles. The next day, they throw these pebbles at Mina, which are three stone walls called Jamarat. These walls represent the devil and temptation. They throw stones at them to show that they are rejecting this.