There is a Masjid Jami' (a large mosque where Jumu`ah [Friday] Prayers are held) in our town which has graves inside or in front of this mosque. It is true that the Prophet (peace be upon him) forbade this but
he (peace be upon him) also warned against abandoning congregational Salah. What should I do? Should I abandon Jumu`ah (Friday) Prayer because of these graves or can I perform Salah there especially that we do not have another Masjid Jami' in our town?
It is not permissible for you to perform Jumu'ah Prayer in the Masjid where there are graves. You should do your best to search for a Masjid where Jumu'ah Prayer is performed. You should also do your best to move the graves to public graveyards. (Part No. 1; Page No. 422) In case that you can not do so, you have to search for good-doers to participate in buying a piece of land to build a Masjid where Jumu'ah Prayer can be performed.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.