During the Farewell Pilgrimage the Prophet circumambulated the House and went between As-Safa and Al-Marwah on his mount so that the people could see him and he could see them, and they could ask him questions, and the people crowded around him.
Sunan an-Nasa'i Book 24, Hadith 358