Hadith 8:2455
Abu Bakr narrated to us, he said: Yazid ibn Harun narrated to us, from al-Taymi, from Abu Mijlaz, that Gabriel gave Abraham seven pebbles. Then they both set off toward the Jamrat al-Aqaba, and Satan appeared before them. He (Gabriel) said to him, "Throw." He said: So they threw and said "Allahu Akbar" with every throw, until Satan retreated. Then he did the same thing at the other two Jamrat.
حدثنا أبو بكر قال حدثنا يزيد بن هارون عن التيمي عن أبي مجلز أن جبريل أعطى إبراهيم سبع حصيات ثم انطلقا إلى العقبة فعرض لهما الشيطان فقال له أرم قال فرميا وكبرا مع كل رمية حتى أقبل الشيطان ثم صنع مثل ذلك في الجمرتين الآخرتين