Making Tawaf on the roof of the Masjid

Q: I performed Hajj this year and on the morning of the day of `Eid-ul-Adha (the Festival of the Sacrifice) I went to throw the pebbles at Jamarat-ul-`Aqabah (the closest pebble-throwing area to Makkah). Then I went to Makkah to perform Tawaf-ul-Ifadah (final obligatory circumambulation of the Ka`bah in Hajj). I found a great crowd around the Ka`bah and I saw people make Tawaf on the roof of the Masjid and on the first floor. I went up to the first floor and performed the seven rounds of Tawaf. I told an Imam (the one who leads congregational Prayer) about what I did but he said that performing Tawaf on the roof of the Masjid is not permissible. He said that my Tawaf is invalid and my Hajj too. Dear respected Shaykh, guide us. May Allah be merciful to you.

A: Your Tawaf and Hajj are valid, In sha’a-Allah (if Allah wills). It is permissible to offer Tawaf on the roof of the Masjid and all its floors, all thanks and praise be to Allah, especially when there is a great crowd.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.