When Abdullah bin Masud came to Jamrat al-Aqaba, he went into the middle of the valley, faced the Kaabah, and positioned the pillar over his right eyebrow. Then he threw seven pebbles, saying the takbir with each one, and said, "From this very spot, by the One besides whom there is no god, did the one to whom Surah al-Baqarah was revealed throw his pebbles."
حدثنا علي بن محمد حدثنا وكيع عن المسعودي عن جامع بن شداد
لما أتى عبد الله بن مسعود جمرة العقبة استبطن الوادي واستقبل الكعبة وجعل الجمرة على حاجبه الأيمن ثم رمى بسبع حصيات يكبر مع كل حصاة ثم قال من هاهنا والذي لا إله غيره رمى الذي أنزلت عليه سورة البقرة
Bukhari related it in the Book of Hajj, chapter on throwing pebbles from the bottom of the valley, hadiths 1747 and 1750, along with all of them, and Muslim related it in the Book of Hajj, chapter on throwing pebbles at Jamra Uqba from the bottom of the valley with Makkah on his left, saying "Allahu Akbar" with each pebble, hadith 1296, from the hadith of Abdul-Rahman bin Yazid, with this wording. Tirmidhi also related it, hadith 901, from the hadith of Waki, with this wording, and he said, hasan sahih.