We set out with the Messenger of Allah ﷺ intending nothing but the Hajj. When he had performed the circuits around the House and walked between Safa and Marwa, he said, "Whoever has brought a sacrificial animal with him should remain in his state of ihram, and whoever has not brought a sacrificial animal should exit ihram."
أخبرنا محمد بن رافع عن يحيى وهو ابن آدم عن سفيان وهو ابن عيينة قال حدثني عبد الرحمن بن القاسم عن أبيه
خرجنا مع رسول الله ﷺ لا نرى إلا الحج قالت فلما أن طاف بالبيت وبين الصفا والمروة قال من كان معه هدي فليقم على إحرامه ومن لم يكن معه هدي فليحلل