Ata narrates from Ibn Abbas (may Allah be pleased with them both) that no one, whether a resident of Makkah or anyone else, enters Makkah except in the state of ihram.
(b) Ata narrates from Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) entered Makkah only for Hajj or Umrah.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 9839