Visiting Graveyard
There are no specific guidelines per se except for the general guidelines that one should stay away from any polytheostic actions and biddahs around graves. In addition to this, graveyard visit should be a reminder for us that we will die one day as well and we should prepare for that day. The prayer of Prophet (sws) in this regard is very meaningful: أبي هريرة أن رسول اللهأتى المقبرة فقال السلام عليكم دار قوم مؤمنين وإنا إن شاء الله بكم لاحقون Abu Hurairah narrates: The Holy Prophet (sws) once came to a graveyard and said, ‘Peace on you! [Oh] dwellers of the house of the believers. We will join you InshaAllah. {Muslim:No:249} Ibn Habban has added the following words: أنتم لنا فرط ونحن لكم تبع نسأل الله لنا ولكم العافية You preceded us and we will follow you. We seek Allah’s forgiveness both for you and for ourselves.[ Ibn-e Habban No: 3173]