Sunan Ibn Majah Book 25, Hadith 149
“When ‘Abdullah
bin
Mas’ud stoned ‘Aqabah Pillar, he went to the bottom of the valley
and turned to face the Ka’bah, with the Pillar on his right hand
side.
Then he threw seven pebbles, saying the Takbir with each one.
Then he
said: ‘From here, by the One besides Whom there is none
worthy of
worship, did the one throw, to whom Surat Al-Baqarah was
revealed.’”
“On the morning of ‘Aqabah, when he was atop his she-camel, the Messenger of Allah (ﷺ) said: ‘Pick up some pebbles for me.’ So I picked up seven pebbles for him, suitable for Khadhf.* He began to toss them in his hand, saying: ‘Throw something like these.’ Then he said: ‘O people, beware of exaggeration in religious matters for those who came before you were doomed because of exaggeration in religious matters.’”
“I saw the Prophet (ﷺ) on the Day of Sacrifice, at ‘Aqabah Pillar. He went to the interior of the valley and threw seven pebbles, saying Takbir with each pebble, then he departed.”
Another chain reports a similar hadith.