He comes from Egypt to Jeddah then he goes to Madeenah and enters ihraam from Dhu’l-Hulayfah
Question

                I read in some questions about what some Hujjaaj do (performers of Hajj) by passing the meeqaat without entering ihram then they stay in Jeddah for three days to enter ihram there! You have clarified that it is not permissible to do so.  

What happened with my family and I was that we went to perform ‘Umra last year, but my parents wanted to visit Medina first then go to Makkah; so that they perform jumu’ah prayer in the sacred masjid. (It seems my parents believe that praying in the sacred masjid has a greater reward than praying in the prophet’s masjid in Medina). We travelled by plane and passed the meeqaat without entering ihram. We slept one night in Jeddah then we went to Medina and slept there for two nights. When we decided to go to Makkah. I intended to enter ihram and wore ihram in a hotel in Medina, as well as did the women who were at the same hotel. My parents and brothers entered ihram in the meeqaat of who lives in Medina (dhul hulayfah) then we went to Makkah and performed an ‘umra. Was what we did a similar mistake to the mistake of those who go to Makkah with the intention of performing Hajj and pass the meeqaat without entering ihram?.
Praise be to Allah.
    There is nothing wrong with what you did, because when you 
    travelled to Jeddah you were not intending to do ‘Umrah, so you did not have 
    to enter ihraam at the meeqaat when you passed it. Rather you intended to do 
    ‘Umrah from Madeenah, so you had to enter ihraam from its meeqaat 
    (Dhu'l-Hulayfah). 

    Shaykh Ibn ‘Uthaymeen (may Allaah have mercy on him) was 
    asked: A man came from Jeddah and did not enter ihraam. First he went to 
    al-Madeenah al-Munawwarah to visit the Prophet’s Mosque, then he entered 
    ihraam from the meeqaat of the people of Madeenah. Is this correct? 

    He replied: There is nothing wring with it, i.e., if a person 
    comes from his country intending to go to Madeenah first, and he stops in 
    Jeddah, then goes from Jeddah to Madeenah, then comes back from Madeenah, 
    entering ihraam from the meeqaat of the people of Madeenah, there is nothing 
    wrong with that. End quote. Liqa’ al-Baab al-Maftooh (121/29). 

    He was also asked about a man who came for Hajj and his 
    meeqaat was Yalamlam, but he did not enter ihraam from the meeqaat, and he 
    stopped in Jeddah, and went to Madeenah to visit it, then he came back to 
    Makkah and entered ihraam from Dhu'l-Hulayfah. Does he have to do anything? 

    He replied: 

    If he was originally heading for Madeenah, then he came back 
    and entered ihraam from Dhu’l-Hulayfah, then he does not have to do 
    anything. End quote. 

    Majmoo’ Fataawa Ibn ‘Uthaymeen 
    (21/345). 

    Secondly: 

    Prayer in al-Masjid al-Haraam is better than prayer in 
    al-Masjid al-Nabawi, because the Prophet  (peace and blessings of Allaah 
    be upon him) said: “One prayer in this mosque of mine is better than a 
    thousand prayers in any other mosque, unless it is al-Masjid al-Haraam.” Narrated by al-Bukhaari (1190) and Muslim (1394). This includes Jumu’ah and other prayers. 

    And Allaah knows best.