It is narrated from Ibn Umar (may Allah be pleased with them both) that Umar (may Allah be pleased with him) said: "None of the pilgrims should return until he has performed the Tawaf of the House (Ka'bah), because the last act of Hajj is the (farewell) Tawaf of the House of Allah." Imam Malik (may Allah have mercy on him) said: In our opinion—and Allah knows best—this is the explanation of Allah's statement: "Then its being made lawful is at the House of Allah," meaning that becoming lawful from the rites of Hajj and their completion is at the Ka'bah.
Hadith Referenceمسند الإمام الشافعي / كتاب الحج / 1031
Hadith Takhrijإسناده صحيح أخرجه البيهقي: 5 / 162 - وفي معرفة السنن والآثار له (3097) وابن أبي شيبة (13596)۔