Buraidah (May Allah be pleased with him) reported: Messenger of Allah (sallallaahu alayhi wa sallam) said, "(In the past) I forbade you from visiting graves, but visit them now.
http://www.gowister.com/books/riyad-us-saliheen-66.html
Qais bin Abu Hazim (May Allah be pleased with him) reported: I went to visit Khabbab bin Aratt (May Allah be pleased with him) during his illness. He had been cauterized in seven places.
http://www.gowister.com/books/riyad-us-saliheen-67.html
Ninth, to stand over the grave and to pray for the salvation of the dead person is a desirable act, as the dead person enjoys the intimacy and the visit of the righteous to his grave.
http://www.gowister.com/books/riyad-us-saliheen-95.html
So, it is desirable for a traveller to visit his fellow Muslim brother to pray for him before he starts his journey.
http://www.gowister.com/books/riyad-us-saliheen-96.html
Al-Bara' bin `Azib (May Allah be pleased with them) reported: The Messenger of Allah (sallallaahu alayhi wa sallam) commanded us to do seven things: to visit the sick,
http://www.gowister.com/books/riyad-us-saliheen-131.html
Al-Bara' bin `Azib (May Allah be pleased with them) reported: Messenger of Allah (sallallaahu alayhi wa sallam) has ordered us to visit the sick, to follow the funeral (of a dead believer),
http://www.gowister.com/books/riyad-us-saliheen-144.html
"He who visits a sick person who is not on the point of death and supplicates seven times: As'alullahal-`Azima Rabbal-`Arshil-`Azimi, an yashfiyaka (I beseech Allah the Great,
http://www.gowister.com/books/riyad-us-saliheen-145.html
Commentary: This Hadith shows that if a patient is in a critical condition and people are advised not to visit him, it will be appropriate to enquire of his blood relatives about his health.
http://www.gowister.com/books/riyad-us-saliheen-146.html
came to visit me when I had a severe pain. I said: "I am suffering from such trouble as you are observing. I am a wealthy man and the only heir of mine is my daughter.
http://www.gowister.com/books/riyad-us-saliheen-149.html
Thirdly, the Prophet's example requires the pious persons to visit a bereaved family. Condoling them, they should invoke supplication and blessing for the departed soul.
http://www.gowister.com/books/riyad-us-saliheen-151.html