Abdul-Rahman bin Yazid reported,

When Abdullah reached the Jamrah of Aqaba, he went down into the bottom of the valley, faced the qibla, and positioned the pillar so that it lay toward his right brow. Then he threw seven pebbles, saying the takbir with each one. Afterward he said, "By Allah, besides whom there is no god, it was from this very spot that the one to whom Surah Baqarah was revealed did his throwing."Hannad reported to us that Waki reported to us from Masudi, from Ibn Umar, that whenever the Prophet ﷺ went to stone the pillars, he walked there and walked back.

Tirmidhi 901

Sahih

حدثنا يوسف بن عيسى حدثنا وكيع حدثنا المسعودي عن جامع بن شداد أبي صخرة عن عبد الرحمن بن يزيد قال لما أتى عبد الله جمرة العقبة استبطن الوادي واستقبل القبلة وجعل يرمي الجمرة على حاجبه الأيمن ثم رمى بسبع حصيات يكبر مع كل حصاة ثم قال والله الذي لا إله إلا هو من هاهنا رمى الذي أنزلت عليه سورة البقرة حدثنا هناد حدثنا وكيع عن المسعودي بهذا الإسناد نحوه

الترمذي 901صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Hajj
Chapter
How to stone the Jamarat
Numbering
Darussalam 901
Tirmidhi 901