Hadith.2797 - Ibn Abi Umayr narrated from Hafs ibn al-Bukhtari, from Abu Abdullah (as), regarding someone who is performing tawaf around the Kaaba and then enters the Kaaba during the tawaf. Imam (as) said
"He must start his tawaf over from the beginning."