No one circumambulates the House, whether a pilgrim or otherwise, except that he exits the state of ihram.I said to Ata, "On what basis does he say that?"He replied, "From the saying of Allah Most High, 'Then their place of sacrifice is at the Ancient House' [Hajj 22:33]."I said, "But that is after standing at Arafat."He replied, "Ibn Abbas used to say it applies both after Arafat and before it. He derived this from the command of the Prophet ﷺ when he ordered them to exit ihram during the Farewell Pilgrimage."
و حدثنا إسحق بن إبراهيم أخبرنا محمد بن بكر أخبرنا ابن جريج أخبرني عطاء قال كان
ا لا يطوف بالبيت حاج ولا غير حاج إلا حل قلت لعطاء من أين يقول ذلك قال من قول الله تعالى {ثم محلها إلى البيت العتيق} قال قلت فإن ذلك بعد المعرف فقال كان ابن عباس يقول هو بعد المعرف وقبله وكان يأخذ ذلك من أمر النبي ﷺ حين أمرهم أن يحلوا في حجة الوداع