عَنِ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُمَا قَالَ: إِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَالَ: ((إِنَّ جِبْرِيلَ ذَهَبَ بِإِبْرَاهِيمَ إِلَى جَمْرَةِ الْعَقَبَةِ فَعَرَضَ لَهُ الشَّيْطَانُ فَرَمَاهُ بِسَبْعِ حَصَيَاتٍ فَسَاخَ ثُمَّ أَتَى الْجَمْرَةَ الْوُسْطَى فَعَرَضَ لَهُ الشَّيْطَانُ فَرَمَاهُ بِسَبْعِ حَصَيَاتٍ فَسَاخَ ثُمَّ أَتَى الْجَمْرَةَ الْقُصْوَى فَعَرَضَ لَهُ الشَّيْطَانُ فَرَمَاهُ بِسَبْعِ حَصَيَاتٍ فَسَاخَ فَلَمَّا أَرَادَ إِبْرَاهِيمُ أَنْ يَذْبَحَ ابْنَهُ إِسْحَاقَ قَالَ لِأَبِيهِ: يَا أَبَتِ أَوْثِقْنِي لَا أَضْطَرِبُ فَيَنْتَضِحَ عَلَيْكَ مِنْ دَمِي إِذَا ذَبَحْتَنِي فَشَدَّهُ فَلَمَّا أَخَذَ الشَّفْرَةَ فَأَرَادَ أَنْ يَذْبَحَهُ نُودِيَ مِنْ خَلْفِهِ {أَنْ يَا إِبْرَاهِيمُ قَدْ صَدَّقْتَ الرُّؤْيَا}))
Narrated from Sayyiduna Abdullah bin Abbas, may Allah be pleased with them both, that the Messenger of Allah, peace and blessings be upon him, said: When Gabriel took Ibrahim (peace be upon him) towards Jamrah al-Aqabah, Satan appeared before him. Ibrahim (peace be upon him) threw seven pebbles at him, so he sank into the earth. After that, when Ibrahim (peace be upon him) came to Jamrah al-Wusta, Satan appeared before him again. He (peace be upon him) threw seven pebbles at him again, so he sank into the earth. After that, Ibrahim (peace be upon him) went to Jamrah al-Quswa, and there too Satan appeared before him. He (peace be upon him) threw seven pebbles at him there as well, so he sank into the earth. After that, when Ibrahim (peace be upon him) intended to sacrifice his son Ishaq (peace be upon him), he said to his father: O my father! Tie me up so that when you slaughter me, I do not struggle and thus my blood does not fall upon you. Ibrahim (peace be upon him) tied him up, and when he took up the knife, a voice came from behind: O Ibrahim! You have fulfilled the vision.