The Noble Verse
إِنَّ الصَّفَا وَالْمَرْوَةَ مِنْ شَعَائِرِ اللَّهِ فَمَنْ حَجَّ الْبَيْتَ أَوِ اعْتَمَرَ فَلَا جُنَاحَ عَلَيْهِ أَنْ يَطَّوَّفَ بِهِمَا وَمَنْ تَطَوَّعَ خَيْرًا فَإِنَّ اللَّهَ شَاكِرٌ عَلِيمٌ
[البقرة: 158]
Simple Translation
Brief Tafsir
[2] Saʿy between Ṣafā and Marwah is a pillar of Hajj (an essential part). But from the Qur’anic words ‘there is no sin’, some Companions came to doubt whether saʿy between Ṣafā and Marwah was necessary. When ʿĀʾishah (raḍiyallāhu ʿanhā) learned of this, she said: had it meant what you think, Allah, the Exalted, would have said:
(Ṣaḥīḥ al-Bukhārī, Book of Hajj: chapter on the obligation of saʿy between Ṣafā and Marwah)
Some have explained the reason as follows: in the Jāhiliyyah the polytheists had set up an idol called ‘Isāf’ on Ṣafā and one called ‘Nāʾilah’ on Marwah, and during saʿy they would kiss or touch them. When they embraced Islam, the thought came to them that perhaps performing saʿy between Ṣafā and Marwah would be sinful, since before Islam they had done saʿy for those two idols. In this verse Allah, the Exalted, removed their doubt and hesitation. Now this saʿy (going back and forth seven times in ʿUmrah and Hajj) is necessary; it begins at Ṣafā and ends at Marwah. (Aysar al-Tafāsīr)