Someone asked about the words of Allah , "there is no blame on him for performing tawaf between them", saying, "By Allah, it means there is no blame on anyone who does not perform tawaf between Safa and Marwa."Ayesha replied, "What a poor thing you have said, my nephew. If this verse meant what you have interpreted it to mean, it would have read, 'there is no blame on him for not performing tawaf between them.' Rather, it was revealed concerning the Ansar. Before they accepted Islam, they used to enter the state of consecration for Manat the idol, whom they worshipped at Mushallal, and whoever consecrated himself for her would feel it was wrong to perform tawaf between Safa and Marwa. So when they asked the Messenger of Allah ﷺ about that, Allah
revealed, "Indeed, Safa and Marwa are among the symbols of Allah, so whoever performs Hajj to the House or performs Umrah, there is no blame on him for performing tawaf between them" [Baqarah 2:158]. Then the Messenger of Allah ﷺ established the tawaf between them as sunnah, so it is not for anyone to omit performing tawaf between them."
أخبرني عمرو بن عثمان قال حدثنا أبي عن شعيب عن الزهري عن عروة قال
عن قول الله عز وجل {فلا جناح عليه أن يطوف بهما} فوالله ما على أحد جناح أن لا يطوف بالصفا والمروة قالت عائشة بئسما قلت يا ابن أختي إن هذه الآية لو كانت كما أولتها كانت فلا جناح عليه أن لا يطوف بهما ولكنها نزلت في الأنصار قبل أن يسلموا كانوا يهلون لمناة الطاغية التي كانوا يعبدون عند المشلل وكان من أهل لها يتحرج أن يطوف بالصفا والمروة فلما سألوا رسول الله ﷺ عن ذلك أنزل الله عز وجل {إن الصفا والمروة من شعائر الله فمن حج البيت أو اعتمر فلا جناح عليه أن يطوف بهما} ثم قد سن رسول الله ﷺ الطواف بينهما فليس لأحد أن يترك الطواف بهما
Bukhari transmitted it in Kitab al-Hajj, chapter titled "wujub al-Safa wal-Marwa wa jaal min shaair Allah" (The obligation of Safa and Marwa, and that they are made among the rites of Allah), h: 1643, from the hadith of Shuayb, through him. It is also found in al-Kubra, h: 3960, and see the preceding hadith.