The Messenger of Allah ﷺ entered the state of ihram for umrah, while his companions entered ihram for hajj. He ordered those who had not brought sacrificial animals with them to exit the state of ihram. Among those who had not brought sacrificial animals were Talha bin Ubaydullah and another man, so they both exited the state of ihram.
أخبرنا محمد بن بشار قال حدثنا محمد قال حدثنا شعبة عن مسلم وهو القري قال سمعت
أهل رسول الله ﷺ بالعمرة وأهل أصحابه بالحج وأمر من لم يكن معه الهدي أن يحل وكان فيمن لم يكن معه الهدي طلحة بن عبيد الله ورجل آخر فأحلا