Sunan Abi Dawud, Hadith 1974

Narrated 'Abd al-Rahman b. Yazid: On the authority of Ibn Mas'ud: When Ibn Mas'ud came to the largest jamrah, he stood with the House (the Ka'bah) on his left and Mina on his right, and he thew seven pebbles at the jamrah. Then he said: Thus he did throw to whom Surat al-Baqarah was sent down.

حَدَّثَنَا حَفْصُ بْنُ عُمَرَ، وَمُسْلِمُ بْنُ إِبْرَاهِيمَ، - الْمَعْنَى - قَالاَ حَدَّثَنَا شُعْبَةُ، عَنِ الْحَكَمِ، عَنْ إِبْرَاهِيمَ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ يَزِيدَ، عَنِ ابْنِ مَسْعُودٍ، قَالَ لَمَّا انْتَهَى إِلَى الْجَمْرَةِ الْكُبْرَى جَعَلَ الْبَيْتَ عَنْ يَسَارِهِ وَمِنًى عَنْ يَمِينِهِ وَرَمَى الْجَمْرَةَ بِسَبْعِ حَصَيَاتٍ وَقَالَ هَكَذَا رَمَى الَّذِي أُنْزِلَتْ عَلَيْهِ سُورَةُ الْبَقَرَةِ ‏.‏

sunnah.com

also referenced under: Hadith 1969 (Hasan)