Allah has stated that Tawaf between As-Safa and Al-Marwah is among the symbols of Allah, meaning, among the acts that Allah legislated during the Hajj for Prophet Ibrahim.
Surah al Baqarah Ayah 158
ثم بعد ذلك, يقدم على الثواب الآجل عند ربه كاملا موفرا, لم تنقصه هذه الأمور.