Performing طواف on the upper floors and rooftop of مسجد الحرام is valid according to the majority of contemporary scholars. Sheikh Ibn Baz ruled that طواف on any level of the مسجد is valid as long as the حاجی is circumambulating around the کعبۃ اللہ, even if they are at a higher elevation than the کعبۃ اللہ itself. He noted that the کعبۃ اللہ extends upward conceptually — the airspace above the کعبۃ اللہ is also considered part of its sacred area — and therefore طواف at a higher level remains around the کعبۃ اللہ.
Sheikh Ibn Uthaymeen held a slightly more nuanced view: he considered طواف on the upper floors valid when the ground floor is too crowded, but he noted that being closer to the کعبۃ اللہ is more virtuous (afdal) and that the ground level is preferable when accessible. He stated that طواف on the upper floors satisfies the requirement of circumambulating the کعبۃ اللہ and is especially appropriate for the elderly, those in wheelchairs, and during extremely crowded times.
The Permanent Committee confirmed the validity of طواف on all levels of مسجد الحرام, noting that the expansion of the مسجد and the addition of multiple floors were specifically designed to accommodate the growing number of حجاج. The key condition that scholars stipulate is that the حاجی must be circling around the کعبۃ اللہ — if the upper floor extends beyond the کعبۃ اللہ's vertical projection, some scholars debated whether the outermost path is valid, but the prevailing contemporary view is that it remains valid as the حاجی is still circumambulating the Sacred House.