Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) narrated that the Messenger of Allah (peace and blessings be upon him) reached Makkah four days before Hajj and ordered us to make it an Umrah. This made our hearts feel constrained and weighed heavily upon us. So he (peace and blessings be upon him) said: "O people, leave ihram! Had I not had the sacrificial animal with me, I would have done the same as you are doing." He said: So we left ihram, to the extent that we even had relations with our wives and did everything that a person not in ihram does, until, when the night of Tarwiyah came and we had left Makkah behind us, we made the talbiyah for Hajj.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 8789