“The Messenger of Allah (ﷺ) forbade a man to depart until the last thing he did was (Tawaf around) the House.”

Sunan Ibn Majah Book 25, Hadith 190