Surah Al-Baqarah, ayah 158

2:158

۞ إِنَّ ٱلصَّفَا وَٱلۡمَرۡوَةَ مِن شَعَآئِرِ ٱللَّهِۖ فَمَنۡ حَجَّ ٱلۡبَيۡتَ أَوِ ٱعۡتَمَرَ فَلَا جُنَاحَ عَلَيۡهِ أَن يَطَّوَّفَ بِهِمَاۚ وَمَن تَطَوَّعَ خَيۡرٗا فَإِنَّ ٱللَّهَ شَاكِرٌ عَلِيمٌ ١٥٨

Innas-safā wal-marwata min sha'ā'irillāhi faman hajjal-bayta awi'tamara falā junāha 'alayhi an yattawwafa bihimā waman tatawwa'a khayran fa innallāha shākirun 'alīm

Indeed, aṣ-Ṣafā and al-Marwah are among the symbols55 of Allāh. So whoever makes ḥajj [pilgrimage] to the House or performs ʿumrah - there is no blame upon him for walking between them.56 And whoever volunteers good - then indeed, Allāh is Appreciative57 and Knowing.

Footnotes

55 Places designated for the rites of ḥajj and ʿumrah.

56 Some believers had previously feared that this might be a pagan practice, so Allāh confirms that saʿī is among the rites of His religion.

57 i.e., He rewards generously.