"We went out with the Messenger of Allah not thinking of anything but Hajj. When we drew close to Makkah, the Messenger of Allah ordered: 'Whoever has a Hadi with him should remain in Ihram, and whoever does not have a Hadi with him, he should exit Ihram." (Using translation from Nasāʾī 2804)
خَرَجْنَا مَعَ رَسُولِ اللهِ ﷺ لَا نَرَى إِلَّا أَنَّهُ الْحَجُّ فَلَمَّا دَنَوْنَا مِنْ مَكَّةَ «أَمَرَ رَسُولُ اللهِ ﷺ مَنْ كَانَ مَعَهُ هَدْيٌ أَنْ يُقِيمَ عَلَى إِحْرَامِهِ وَمَنْ لَمْ يَكُنْ مَعَهُ هَدْيٌ أَنْ يَحِلَّ»