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.
muslim:1277eḤarmalah b. Yaḥyá > Ibn Wahb > Yūnus > Ibn Shihāb > ʿUrwah b. al-Zubayr > ʿĀʾishah > al-Anṣār Kānūā Qabl > Yuslimūā > Waghassān Yuhillūn Limanāh Fataḥarrajūā > Yaṭūfūā

" Verily al-Safa' and al-Marwa are among the Signs of Allah" ; so he who performs Hajj or Umra, for him there is no harm if he should circumambulate between them, and he who does good spontaneously-surely Allah is Bountiful in rewarding and Knowing.  

مسلم:١٢٧٧eوَحَدَّثَنَا حَرْمَلَةُ بْنُ يَحْيَى أَخْبَرَنَا ابْنُ وَهْبٍ أَخْبَرَنِي يُونُسُ عَنِ ابْنِ شِهَابٍ عَنْ عُرْوَةَ بْنِ الزُّبَيْرِ أَنَّ عَائِشَةَ أَخْبَرَتْهُ أَنَّ الأَنْصَارَ كَانُوا قَبْلَ

أَنْ يُسْلِمُوا هُمْ وَغَسَّانُ يُهِلُّونَ لِمَنَاةَ فَتَحَرَّجُوا أَنْ يَطُوفُوا بَيْنَ الصَّفَا وَالْمَرْوَةِ وَكَانَ ذَلِكَ سُنَّةً فِي آبَائِهِمْ مَنْ أَحْرَمَ لِمَنَاةَ لَمْ يَطُفْ بَيْنَ الصَّفَا وَالْمَرْوَةِ وَإِنَّهُمْ سَأَلُوا رَسُولَ اللَّهِ ﷺ عَنْ ذَلِكَ حِينَ أَسْلَمُوا فَأَنْزَلَ اللَّهُ ﷻ فِي ذَلِكَ { إِنَّ الصَّفَا وَالْمَرْوَةَ مِنْ شَعَائِرِ اللَّهِ فَمَنْ حَجَّ الْبَيْتَ أَوِ اعْتَمَرَ فَلاَ جُنَاحَ عَلَيْهِ أَنْ يَطَّوَّفَ بِهِمَا وَمَنْ تَطَوَّعَ خَيْرًا فَإِنَّ اللَّهَ شَاكِرٌ عَلِيمٌ}  


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]