And the Sa’y between Safa and Marwah was instituted because Satan appeared to Ibrahim عليه السلام in the valley, so he hurried (in pursuit of him), and it became the dwelling place of devils. And the Mas’a (the area of Sa’y) became the most beloved place to Allah سبحانه وتعالى, Mighty and Majestic, because every tyrant is humbled there."
Commentary #7