Not allowed to build any structures over graves in Islam. Because the dead man doesn’t need it. And the structures don’t give any advantages to the dead.
A hadith from Jabir (may Allah blesses him), he says:
نَهَى رَسُولُ اللَّهِ صلى الله عليه وسلم أَنْ يُجَصَّصَ الْقَبْرُ وَأَنْ يُقْعَدَ عَلَيْهِ وَأَنْ يُبْنَى عَلَيْهِ
“The Messenger of Allah (ﷺ) forbade that the graves should be plastered (made into permanent structures), used as sitting places (for the people) or building over them” [Saheeh Muslim].
Also, this behaviour will leads us to cult the graves and leads us to worship the dead. Which is considered as shirk.
And that ever happened to the Jews and Christians. The Messenger of Allah (ﷺ) says:
لَعَنَ اللَّهُ الْيَهُودَ وَالنَّصَارَى اتَّخَذُوا قُبُورَ أَنْبِيَائِهِمْ مَسَاجِدَ
“Let there be curse of Allah upon the Jews and the Christians for they have taken the graves of their apostles as places of worship” [Bukhari & Muslim].
Islam teaches us everything that benefit our life. Practice it well. May Allah bless your faith. Aameen!
Top Islamic is one of Islamic da’wah accounts. Be a part of us by giving your charity to topislamic.net/support.