Ihram of someone who intends to perform `Umrah while inside Makkah

Q: I came from Egypt to Makkah for work. When I left Egypt, I did not intend to perform `Umrah or to enter the state of Ihram (ritual state for Hajj and `Umrah). After I had stayed for seven days in Makkah, I entered the state of Ihram from Masjid Al-Tan`im and performed `Umrah. However, a person told me that I have to enter Makkah in the state of Ihram. To which extent is this correct? What should I do?

A: If the case is as mentioned, entering the state of Ihram from Al-Tan`im is valid.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.