A:
It is impermissible
of offer Salah in cemeteries; whoever does that, their Salah is invalid and they should repeat it and that is based on the Mutawatir (a Hadith reported by a significant number of narrators throughout the chain of narration, whose agreement upon a lie is impossible) Hadiths from the Prophet (peace be upon him) which forbid taking graves as places of worship, except for Funeral Prayer which is permissible to be offered in (Part No. 5; Page No. 253) the cemetery.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.