It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that Jibril (peace be upon him) came to the Prophet (peace and blessings be upon him) to show him (peace and blessings be upon him) the rites of Hajj. Mount Thabir opened up for them and they entered Mina. Then he showed him (peace and blessings be upon him) the Jamarat, then he showed him Muzdalifah, and he showed him Arafat. When they reached the Jamrah, Iblis followed them, so he pelted him with seven pebbles and he sank into the ground. Then he followed them until Jamrat al-Aqabah came, and (he pelted him and) he sank and went away.
Related hadith on this topic