بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ
دار الافتاء الحکمہ
Fatawa Luqmaniyah — Online Fatwa Library
Supervised by: Dr Mufti Abu Tayyab Luqman (may Allah preserve him)
Istifta & Shariah guidance — for Muslims worldwide
اردو | English | العربية
Archive No.: 105Topic: Transactions & Neighbours' RightsDate: 7 November 2026 Hijri: Jumada al-Ula 26, 1448 AH
Question

Peace be upon you, and the mercy of Allah and His blessings. Question: It is in the hadith that seven cubits of road should be left... In length (i.e. height), from the Islamic point of view, how many floors is it permissible to build?

Answer
Summary of the Answer

In the Islamic Shariah, no specific final number has been fixed for the height of a building or the number of its floors (for example two, four or ten floors); rather, the real basis has been laid upon the rights of people, the absence of harm (that no one be harmed), and observance of municipal and urban laws.

Wa 'alaykum as-salam wa rahmatullahi wa barakatuh

In the Islamic Shariah, no specific final number has been fixed for the height of a building or the number of its floors (for example two, four or ten floors); rather, the real basis has been laid upon the rights of people, the absence of harm (that no one be harmed), and observance of municipal and urban laws. The Shariah principles of this issue and its detailed rules are as follows:

1. The Ruling about the Road (the Meaning of the Seven-Cubit Hadith)

Abu Hurayrah (may Allah be pleased with him) narrated that the Prophet (peace and blessings of Allah be upon him) gave a judgement of seven cubits (for the road, when there was a dispute about it): «قَضَى النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ إِذَا تَشَاجَرُوا فِي الطَّرِيقِ بِسَبْعَةِ أَذْرُعٍ» "When people dispute about the road, (he judged) seven cubits (of road to be left)." (Sahih al-Bukhari: 2473) And in the narration of Sahih Muslim the words are: «إِذَا اخْتَلَفْتُمْ فِي الطَّرِيقِ، جُعِلَ عَرْضُهُ سَبْعَةَ أَذْرُعٍ» "When you differ about the road, its width shall be set at seven cubits." (Sahih Muslim: 1613)

2. The Shariah Rules for a Building's Height and Floors

As for building floors in the vertical direction, the Shariah has three basic principles:

First Principle: "La Darara wa la Dirar" (No Harm May Be Inflicted)

The Messenger of Allah (peace and blessings of Allah be upon him) judged: «لَا ضَرَرَ وَلَا ضِرَارَ» "No harm shall be inflicted, nor shall harm be reciprocated." (Sunan Ibn Majah: 2340, from 'Ubadah ibn al-Samit, may Allah be pleased with him; Musnad Ahmad; Imam al-Nawawi declared it hasan and Shaykh al-Albani declared it sahih) This very hadith is the basis of one of the major maxims of fiqh: «الضَّرَرُ يُزَالُ» "Harm shall be removed."

Second Principle: Avoiding Show-Off and Pride

In the noble hadiths, raising ever taller buildings without need, merely out of arrogance, display and vying with one another for superiority, has been counted among the signs of the Hour (as was said in the Hadith of Jibril: «وَأَنْ تَرَى الْحُفَاةَ الْعُرَاةَ الْعَالَةَ رِعَاءَ الشَّاءِ يَتَطَاوَلُونَ فِي الْبُنْيَانِ» "And that you see the barefoot, naked, destitute shepherds of sheep competing in raising buildings tall"). (Sahih Muslim: 8; this meaning is also present in Sahih al-Bukhari: 50) However, building a strong and safe structure out of need, to remove the crampedness of living space, or for the capacity of the population is permissible in principle; what is disliked is the intention of pride and competition, and extravagance — not mere height.

Third Principle: Obeying Urban and Municipal Laws (By-laws)

'Umar al-Faruq (may Allah be pleased with him) in his era laid down regulations for the widths of lanes and highways in the planning of the newly founded cities (amsar) — in the layout of Basrah the main highway was kept at sixty cubits, the ordinary lanes at twenty cubits and the alleys at seven cubits (according to the historical reports transmitted in Futuh al-Buldan and elsewhere). This was the practical form of the same principle: that the regulations of urban order and public welfare are set by the ruler, and observing them is binding.

Summary: The Shariah has not fixed any particular count of floors; you may build on your plot as many floors as the local construction laws permit, provided that no excessive harm is caused to the neighbour thereby and his covering and privacy remain fully protected.

Dr Mufti Abu Tayyab Luqman — Dar-ul-Ifta Al-Hikmah

Translated from the original Urdu fatwa.

Note: This answer is general religious guidance. For your specific circumstances, please send a separate, detailed question.