Sayyiduna Ali (may Allah be pleased with him) said: To my knowledge, we set out only as pilgrims, having entered ihram for Hajj; so the Messenger of Allah (peace and blessings be upon him) and Umar (may Allah be pleased with him) did not leave ihram until they had performed tawaf of the House and of al-Safa and al-Marwah on the Day of Sacrifice (Yawm al-Nahr).
Hadith Referenceالمعجم الكبير للطبراني / العشرة / 183