عَنْ قُدَامَةَ بْنِ عَبْدِ اللَّهِ بْنِ عَمَّارٍ قَالَ: رَأَيْتُ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَرْمِي الْجَمْرَةَ يَوْمَ النَّحْرِ عَلَى نَاقَةٍ صَهْبَاءَ لَيْسَ ضَرْبٌ وَلَا طَرْدٌ وَلَيْسَ قِيلُ: إِلَيْكَ إِليك. رَوَاهُ الشَّافِعِيُّ وَالتِّرْمِذِيُّ وَالنَّسَائِيُّ وَابْنُ مَاجَهْ وَالدَّارِمِيُّ
Translation

'A’isha reported the Prophet as saying, "Throwing pebbles at the jamras and running between as-Safa and al-Marwa were appointed only for the remembrance of God.”Tirmidhi and Darimi transmitted it, Tirmidhi saying this is a hasan sahih tradition.