Differences in the Ummah and the Straight Path by Maulana muhammad Yusuf Ludhianvi Translated by Maulana Zahier Ahmed Ragie pg 58-59
Erection of Walls and Building Around Graves
I have mentioned above the prohibitions given by Rasulullah salalahu alayhi wa salam regarding the erection of walls etc. around the graves. Our Ulama i.e, the Ulama of the Ahlus sunnah have in the light of these traditions given decrees that these actions are haraam “unlawful”. Imaam Muhammed Rahmatullahi alayh who is a student of imam Abu Hanifa rahmatullahi alayh and who has codified the teachings of Imaam Abu Hanifa rahmatullahi alayh says:
We do not regard it lawful to throw more soil on a grave than that which has come out of it, and we regard it makrooh to make the surfaces of the graves solid…. Rasulullah salalahua layhi wa salam has prohibited us from building around graves and has also forbidden us from making the graves solid. This is our teaching and the opinion of Imaam Abu Hanifa (Kitaabul Aathaar pg96)
Since Rasulullah salalahu alayhiw a salam commanded Hadhrat Ali Radhiallahu anhu to flatten those graves which had been raised… Imam Shafi rahmatullahi alayh says
‘In light of this hadeeth I have seen the Ulama of Makkah giving orders of demolishing buildings erected around graves. ‘ (Nawawi Commentary of Muslim pg312 Vol1)
From the above we learn that the Auliya were innocent of these shrines, tombs and buildings erected at their graves. i They did not acknowledge these shrines, tombs and buildings neither did they allow it nor reuest it.
The Materialist leaders and people are responsible for this. They have invented these customs, which are contrary to the teachings of Rasulullah salalahu alayhi wa salam. Today many people regard these practices as the only means of gaining the guardianship and friendship of Allah.
There exists many people who use the nefarious practice purely as a business venture, and people fall prey to their evil.
All the hanafi books of jurisprudence eg. Alamgiri, Quadi Khan, Durre Mukhtaar, Kabiri etc. Have termed these actions as unlawful. Allamah ibn Aabideen Shaami Rahmatullahi says
‘I have not seen anybody permitting these actions’ (Durre Mukhtaar pg237 Vol2)
And Qazi Thana-ullah Panipatti Rahmatullahi alayh says:
“These acts which people do i.e the building of large walls, buildings, domes, burning of lamps etc. are all haraam” (Mala Budda Minhu pg84)