Sunan an-Nasa'i #2990
The Book of Hajj 24:373
It was narrated that Aishah said:
"We went out with the Messenger of Allah with no intention but Hajj. When he had circumambulated the Hosue and performed Sai between As-Safa and Al-Marwah, he said: 'Whoever has a Hadi with him, let him remain in Ihram, and whoever does not have a Hadi with him, let him exit Ihram.'"