Abu Tufayl reported,

I said to Ibn Abbas, "Your people claim that the Messenger of Allah ﷺ hurried between Safa and Marwa, and that this is a sunnah."Ibn Abbas replied, "They are right. When Ibrahim was commanded to perform the rites, Satan confronted him at the place of the running, so Ibrahim raced him and outstripped him. Then Jibreel took him to the pillar of Uqba, and a satan confronted him there," and Yunus said, "Satan," "so he pelted him with seven pebbles until he went away. Then Satan confronted him at the middle pillar, and he pelted him with seven pebbles."Ibn Abbas continued, "Then he laid him down on his forehead," and Yunus said, "And there he laid him down on his forehead," "while Ismail was wearing a white shirt. Ismail said, 'Father, I have no garment other than this to be shrouded in, so take it off me and shroud me in it.' Ibrahim struggled to remove it, and then a voice called out to him from behind, 'Ibrahim, you have fulfilled the vision' [Saffat 37:104–105]. Ibrahim turned, and there was a white ram with horns and large eyes."Ibn Abbas said, "I remember that we used to sell this very type of ram."He went on, "Then Jibreel took him to the farthest pillar, and Satan confronted him, so he pelted him with seven," and he mentioned the pebbles, "until he went away. Then Jibreel took him to Mina and said, 'This is Mina.'"And he related the hadith in its full length.

Azami 8400

Hasan

عن أبي الطفيل قال

قلت لابن عباس: يزعم قومك أن رسول الله ﷺ سعى بين الصفا والمروة وأن ذلك سنة. قال: صدقوا إن إبراهيم لما أمر بالمناسك عرض له الشيطان عند المسعى فسابقه فسبقه إبراهيم، ثم ذهب به جبريل إلى جمرة العقبة فعرض له شيطان،- قال يونس: الشيطان- فرماه بسبع حصيات حتى ذهب، ثم عرض له عند الجمرة الوسطى، فرماه بسبع حصيات قال: قد تله للجبين- قال يونس: وثم تله للجبين- وعلى إسماعيل قميص أبيض وقال: يا أبت إنه ليس لي ثوب تكفنني فيه غيره، فاخلعه حتى تكفنني فيه. فعالجه ليخلعه فنودي من خلفه {أن يا ابراهيم قد صدقت الرؤيا} فالتفت إبراهيم، فإذا هو بكبش أبيض أقرن أعين. قال ابن عباس: لقد رأيتنا نبيع هذا الضرب من الكباش، قال: ثم ذهب به جبريل إلى الجمرة القصوى، فعرض له الشيطان، فرماه بسبع فذكر حصيات حتى ذهب ثم ذهب به جبريل إلى منى قال: هذا مني. فذكر الحديث بطوله.

الأعظمي 8400حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Stories of the prophets
Chapter
Ibrahim and his sons, peace be upon them
Section
One designated for sacrifice was Ismail عليه السلام
Numbering
Jami al-Kamil 8400 (2nd edition)
Azami 8400