You should know that it is recommended to visit graves. The Messenger of God, may blessings and peace be upon him, permitted this after having at first forbidden it. It contains benefits both for the living visitor and the dead person who receives the visit.
The Prophet said, may peace and blessings be upon him: ‘Visit graves, for they remind you of death.’ And: ‘I used to forbid you to visit graves, but now you should visit them. They render one able to do without the things of the world, and remind one of the Hereafter.’ He also said: ‘No man visits the grave of his brother and sits by it but that he (the dead man) finds solace in this, having his spirit restored to him until the visitor departs.’ And he said: ‘A dead (person) in his grave is never more comforted than when those that he loved in the world pay him a visit.’
When a visitor enters the cemetery or
passes it by he should say: 'Peace be on you, O place of believers. We are granted respite until tomorrow. That which you were promised has come to you, and we will, God willing, rejoin you. You are our predecessors and we are your followers. I ask God to give us and you wellbeing. O God, forgive us and them!
It is recommended to visit the cemetery on Thursday night, Friday, Friday night until sunrise, and on Monday, for it is said—and this is supported by various narrations—that the spirits of the dead return to their graves at those times.
The visitor must ask for forgiveness and mercy for them, read whatever Qur’an he can and make over the reward to them; he should remember that soon he will go to the same end, and learn the lessons to be drawn from their condition.
One More thing that women are not allowed to visit graveyards.
Curious, why wouldn't a woman be able to receive such spiritual help? Shouldn't they also be rendered to be able to do without the things of the world, and remind them of the Hereafter?
Wouldn't a dead man also find solace and have his spirit restored? What if those that he loved most were women? Daughters, wife, mother etc. could provide comfort as well or better than any man.
I was asking because of the statement "One More thing that women are not allowed to visit graveyards"
Is the ban against "such women" for all sensitive and emotional women, or are they allowed to go and pay respect and leave upon crying and wailing? Does it apply to men that cry and wail as well, because in some cultures men can also be emotional and sensitive without shame or the ridicule of others.