Abdullah bin Abbas reported,

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."

Muslim 3020

Sahih

و حدثنا إسحق بن إبراهيم أخبرنا محمد بن بكر أخبرنا ابن جريج أخبرني عطاء قال كان

ابن عباس يقول

ا لا يطوف بالبيت حاج ولا غير حاج إلا حل قلت لعطاء من أين يقول ذلك قال من قول الله تعالى {ثم محلها إلى البيت العتيق} قال قلت فإن ذلك بعد المعرف فقال كان ابن عباس يقول هو بعد المعرف وقبله وكان يأخذ ذلك من أمر النبي ﷺ حين أمرهم أن يحلوا في حجة الوداع

مسلم 3020صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Hajj
Chapter
Garlanding and marking the sacrificial animal at ihram
Numbering
Darussalam 3020
Muslim 3020