We set out with the Messenger of Allah ﷺ when five days remained of Dhul-Qadah, thinking of nothing but Hajj. When we drew near to Mecca, the Messenger of Allah ﷺ ordered that anyone who had not brought a sacrificial animal should exit the state of ihram once he had performed the circumambulation of the House.
أخبرنا هناد بن السري عن ابن أبي زائدة قال حدثنا يحيى بن سعيد قال أخبرتني عمرة أنها
خرجنا مع رسول الله ﷺ لخمس بقين من ذي القعدة لا نرى إلا الحج حتى إذا دنونا من مكة أمر رسول الله ﷺ من لم يكن معه هدي إذا طاف بالبيت أن يحل
Bukhari narrated it in the book of Hajj, chapter "A man slaughtering cattle on behalf of his wives without their instruction," no. 1709, and Muslim in the book of Hajj, chapter "Explanation of the forms of ihram and that performing Hajj alone (ifrad) is permissible," no. 125, from the hadith of Yahya bin Saeed Ansari, through him. It is also in Kubra, no. 3630. No. 1211.