Jabir bin Abdullah reported,

When he reached his final circuit at Marwa, he said, "Had I known beforehand what I now realize, I would not have brought the sacrificial animals, and I would have made it an Umra. So whoever among you has not brought a sacrificial animal should exit the state of ihram and make it an Umra."So all the people exited ihram and shortened their hair, except for the Prophet ﷺ and those who had brought sacrificial animals with them.

Azami 5052

Sahih

عن جابر بن عبد الله، قال

… حتى إذا كان آخر طوافه على المروة فقال: لو أني استقبلت من أمري ما استدبرت لم أسق الهدي وجعلتها عمرة، فمن كان منكم ليس معه هدي فليحل وليجعلها عمرة… قال فحل الناس كلهم وقصروا إلا النبي ﷺ ومن كان معه هدي.

الأعظمي 5052صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Hajj
Chapter
Description of the Hajj of the Prophet ﷺ as narrated by Jabir and others, and the rulings mentioned therein
Section
One who performs tamattu concludes his umrah by trimming his hair and must offer the tamattu sacrifice
Numbering
Jami al-Kamil 5052 (2nd edition)
Azami 5052