Language:
كتاب مناقب الأنصار
63  
Merits of the Helpers in Madinah (Ansaar)
(27)
Chapter: Al-Qasama in the Pre-Islamic Period of Ignorance
(27)
باب الْقَسَامَةُ فِي الْجَاهِلِيَّةِ
Sahih al-Bukhari 3847

Narrated Ibn 'Abbas:

To run along the valley between two green pillars of Safa and Marwa (mountains) was not Sunna, but the people in the pre-islamic period of ignorance used to run along it, and used to say: "We do not cross this rain stream except running strongly. "

وَقَالَ ابْنُ وَهْبٍ أَخْبَرَنَا عَمْرٌو، عَنْ بُكَيْرِ بْنِ الأَشَجِّ، أَنَّ كُرَيْبًا، مَوْلَى ابْنِ عَبَّاسٍ حَدَّثَهُ أَنَّ ابْنَ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ لَيْسَ السَّعْىُ بِبَطْنِ الْوَادِي بَيْنَ الصَّفَا وَالْمَرْوَةِ سُنَّةً، إِنَّمَا كَانَ أَهْلُ الْجَاهِلِيَّةِ يَسْعَوْنَهَا وَيَقُولُونَ لاَ نُجِيزُ الْبَطْحَاءَ إِلاَّ شَدًّا
Reference : Sahih al-Bukhari 3847
In-book reference : Book 63, Hadith 72
USC-MSA web (English) reference : Vol. 5, Book 58, Hadith 186
  (deprecated numbering scheme)