Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
hakim:3073Abū Aḥmad Muḥammad b. Aḥmad al-Ṣaffār al-ʿAdl > Aḥmad b. Muḥammad b. Naṣr > ʿAmr b. Ṭalḥah al-Qannād > Asbāṭ b. Naṣr > al-Suddī > Abū Mālik

[Machine] In the pre-Islamic era, the devils used to play music all night long between Safa and Marwa. They had idols, which they worshipped. When Islam came, the Muslims said to the Prophet Muhammad, "O Messenger of Allah, we will no longer perform the rite of Sa'y (walking) between Safa and Marwa, as it is something we used to do in the pre-Islamic era." Then Allah revealed the verse, "Indeed, as for those who perform Hajj to the Ka'bah or 'umrah, there is no blame upon them for walking between them" (Quran 2:158). This means that there is no sin upon them, but they will be rewarded.  

الحاكم:٣٠٧٣أَخْبَرَنَا أَبُو أَحْمَدَ مُحَمَّدُ بْنُ أَحْمَدَ الصَّفَّارُ الْعَدْلُ ثنا أَحْمَدُ بْنُ مُحَمَّدِ بْنِ نَصْرٍ ثنا عَمْرُو بْنُ طَلْحَةَ الْقَنَّادُ ثنا أَسْبَاطُ بْنُ نَصْرٍ عَنِ السُّدِّيِّ عَنْ أَبِي مَالِكٍ عَنِ ابْنِ عَبَّاسٍ

فِي قَوْلِهِ تَعَالَى {إِنَّ الصَّفَا وَالْمَرْوَةَ مِنْ شَعَائِرِ اللَّهِ} [البقرة 158] قَالَ كَانَتِ الشَّيَاطِينُ فِي الْجَاهِلِيَّةِ تَعْزِفُ اللَّيْلَ أَجْمَعَ بَيْنَ الصَّفَا وَالْمَرْوَةِ وَكَانَتْ فِيهَا آلِهَةٌ لَهُمْ أَصْنَامٌ فَلَمَّا جَاءَ الْإِسْلَامُ قَالَ الْمُسْلِمُونَ يَا رَسُولَ اللَّهِ لَا نَطُوفُ بَيْنَ الصَّفَا وَالْمَرْوَةِ فَإِنَّهُ شَيْءٌ كُنَّا نَصْنَعُهُ فِي الْجَاهِلِيَّةِ فَأَنْزَلَ اللَّهُ {فَمَنْ حَجَّ الْبَيْتَ أَوِ اعْتَمَرَ فَلَا جُنَاحَ عَلَيْهِ أَنْ يَطَّوَّفَ بِهِمَا} [البقرة 158] يَقُولُ لَيْسَ عَلَيْهِ إِثْمٌ وَلَكِنْ لَهُ أَجْرٌ  

«هَذَا حَدِيثٌ صَحِيحٌ عَلَى شَرْطِ مُسْلِمٍ وَلَمْ يُخَرِّجَاهُ» على شرط مسلم

See similar narrations below:

Collected by Tirmidhī, Aḥmad
tirmidhi:2966ʿAbd b. Ḥumayd > Yazīd b. Abū Ḥakīm > Sufyān > ʿĀṣim al-Aḥwal > Saʾalt Anas b. Mālik > al-Ṣafā And al-Marwah

"I asked Anas bin Malik about As-Safa and Al-Marwah, and he said: 'They were among the rites of Jahiliyyah.' He said: 'So during Islam, we refrained from them, then Allah, Blessed and Most High, revealed: Indeed As-Safa and Al-Marwah are of the symbols of Allah. So it is not a sin for those who perform Hajj or 'Umrah to the house to go between them. (2:158)' He said: 'So it is voluntarily then verily, Allah is the All-Recogniser, the All-Knowing. (2:158)'"  

Abū ʿĪsá said that this Ḥadīth is Ḥasan-Ṣaḥīḥ.
الترمذي:٢٩٦٦حَدَّثَنَا عَبْدُ بْنُ حُمَيْدٍ حَدَّثَنَا يَزِيدُ بْنُ أَبِي حَكِيمٍ عَنْ سُفْيَانَ عَنْ عَاصِمٍ الأَحْوَلِ قَالَ سَأَلْتُ أَنَسَ بْنَ مَالِكٍ عَنِ الصَّفَا وَالْمَرْوَةِ فَقَالَ

كَانَا مِنْ شَعَائِرِ الْجَاهِلِيَّةِ فَلَمَّا كَانَ الإِسْلاَمُ أَمْسَكْنَا عَنْهُمَا فَأَنْزَلَ اللَّهُ ( إِنَّ الصَّفَا وَالْمَرْوَةَ مِنْ شَعَائِرِ اللَّهِ فَمَنْ حَجَّ الْبَيْتَ أَوِ اعْتَمَرَ فَلاَ جُنَاحَ عَلَيْهِ أَنْ يَطَّوَّفَ بِهِمَا ) قَالَ هُمَا تَطَوُّعٌ (فَمَنْ تَطَوَّعَ خَيْرًا فَإِنَّ اللَّهَ شَاكِرٌ عَلِيمٌ )  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ
ahmad:25298ʿAbd al-Razzāq > Maʿmar > al-Zuhrī > ʿUrwah

[Machine] Regarding Aisha's saying, "Indeed, Safa and Marwa are among the symbols of Allah," she said, "There were men from the Ansar who used to perform religious devotions for Manat during the time of Jahiliyyah, and Manat was a pagan idol between Mecca and Medina. They said, 'O Messenger of Allah, we used to circumambulate between Safa and Marwa out of reverence for Manat. Is it permissible for us to continue doing so?' So Allah revealed, 'Indeed, Safa and Marwa are among the symbols of Allah. So whoever performs Hajj or Umrah to the House, there is no blame upon him for walking between them.'" (Quran 2:158)  

أحمد:٢٥٢٩٨حَدَّثَنَا عَبْدُ الرَّزَّاقِ حَدَّثَنَا مَعْمَرٌ عَنِ الزُّهْرِيِّ عَنْ عُرْوَةَ

عَنْ عَائِشَةَ فِي قَوْلِهِ ﷻ {إِنَّ الصَّفَا وَالْمَرْوَةَ مِنْ شَعَائِرِ اللهِ} [البقرة 158] قَالَتْ كَانَ رِجَالٌ مِنَ الْأَنْصَارِ مِمَّنْ يُهِلُّ لِمَنَاةَ فِي الْجَاهِلِيَّةِ وَمَنَاةُ صَنَمٌ بَيْنَ مَكَّةَ وَالْمَدِينَةِ قَالُوا يَا نَبِيَّ اللهِ إِنَّا كُنَّا نَطُوفُ بَيْنَ الصَّفَا وَالْمَرْوَةِ تَعْظِيمًا لِمَنَاةَ فَهَلْ عَلَيْنَا مِنْ حَرَجٍ أَنْ نَطُوفَ بِهِمَا؟ فَأَنْزَلَ اللهُ ﷻ {إِنَّ الصَّفَا وَالْمَرْوَةَ مِنْ شَعَائِرِ اللهِ فَمَنْ حَجَّ الْبَيْتَ أَوْ اعْتَمَرَ فَلَا جُنَاحَ عَلَيْهِ أَنْ يَطَّوَّفَ بِهِمَا} [البقرة 158]