Urwa reported,

I said to Ayesha, Umm Muiminin, and I was young at the time, "What do you make of Allah's words تبارك وتعالى 'Indeed Safa and Marwa are among the rites of Allah, so whoever performs Hajj to the House or performs Umrah, there is no blame on him in going between them' [Baqarah 2:158]? So there is nothing against a man if he does not go between them?"Ayesha replied, "Not at all. If it were as you say, it would have read, 'there is no blame on him in not going between them.' This verse was revealed concerning the Ansar. They used to enter their state of consecration for Manat, and Manat stood opposite Qudayd, and they felt it was wrong to go between Safa and Marwa. When Islam came, they asked the Messenger of Allah ﷺ about this, and Allah تبارك وتعالى revealed 'Indeed Safa and Marwa are among the rites of Allah, so whoever performs Hajj to the House or performs Umrah, there is no blame on him in going between them' [Baqarah 2:158]."

Azami 5031

Sahih

عن عروة، قال

قلت لعائشة أم المؤمنين- وأنا يومئذ حديث السن-: أرأيت قول الله تبارك وتعالى{إن الصفا والمروة من شعائر الله فمن حج البيت أو اعتمر فلا جناح عليه أن يطوف بهما} [البقرة: ١٥٨]، فما على الرجل شيء أن لا يطوف بهما؟ فقالت عائشة: كلا! لو كان كما تقول، لكانت فلا جناح عليه أن لا يطوف بهما إنما أنزلت هذه الآية في الأنصار كانوا يهلون لمناة، وكانت مناة حذو قديد، وكانوا يتحرجون أن يطوفوا بين الصفا والمروة، فلما جاء الإسلام سألوا رسول الله ﷺ عن ذلك فأنزل الله تبارك وتعالى: {إن الصفا والمروة من شعائر الله فمن حج البيت أو اعتمر فلا جناح عليه أن يطوف بهما}.

الأعظمي 5031صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Hajj
Chapter
Description of the Hajj of the Prophet ﷺ as narrated by Jabir and others, and the rulings mentioned therein
Section
Obligation of walking between Safa and Marwa during Hajj and Umrah
Numbering
Jami al-Kamil 5031 (2nd edition)
Azami 5031