VISITING GRAVEYARDS. (HADEETH # 10 - 11)
Hadeeth 10
Sulaiman b. Buraida (Allah be well pleased with him) narrated on the authority of his father that the Messenger of Allah (peace and blessings be upon him) used to teach them when they went out to the graveyard. One of the narrators used to say this in the narration transmitted on the authority of Abu Bakr:" Peace be upon the inhabitants of the city (i. e. graveyard)." In the hadeeth transmitted by Zuhair (the words are):" Peace be upon you, the inhabitants of the city, among the believers, and Muslims, and Allah willing we shall join you. I beg of Allah peace for us and for you." (Muslim)
Hadeeth 11
Narrated Abu Huraira (Allah be well pleased with him): The Holy Prophet (peace and blessings be upon him)said while standing near the graves of the martyrs of Uhud, “I bear witness that you are alive in the sight of Allah.” Then turning towards those present he said, “So visit them, and greet them – I swear by the One in whose power lies my life, they will answer back to whoever greets them until the Last Day.” (Hakim, Baihaqi)
There are numerous Ahadeeth about supplications to be made when visiting the graveyard – the benefit of which to one’s self and to the deceased, it quite evident.
Also note that there are several other Ahadeeth that teach us to pray, and the prayer includes all Muslim brothers & sisters (living, passed away or yet to be borne).