Fatwa ID: 02306
Answered by Moulana Javed ibn Nazir Kachhalia
My mother was telling my brother how when one visits anyone in the grave, Allah enables that person to see who visited them?
Is there any basis behind this? I believe this is something her brother (my Mamu) told her who was full time Tablighi saathi for many decades.
Benefits of Visiting Graves
a) It reminds one of death and afterlife, and makes him draw a lesson from it for his afterlife. (Muslim; Tirmidhi; Ibn Majah)
b) It directs one to asceticism and taqwa (God-Consciousness). It prevents over-ambitiousness for worldly life and committing harams. It leads one to commit good deeds. (Ibn Maja).
Now in regards to your query, there is a an incident that took place during the time of the Prophet صَلَّى اللّٰهُ عَلَيْهِ وَسَلَّم :
After the Battle of Badr, the dead bodies of Qurayshis were put into a well. The Messenger of Allah addressed them as follows:
"O son of this and that! Did you find that what Allah and His messenger had promised you came out true? I found that what Allah had promised me came out true." Umar (RA) said,
"O Messenger of Allah! How do you address the dead bodies?" The Prophet said,
"You cannot hear what I say better than them. However, they cannot answer me." (Muslim)
Once, the Prophet was passing by a graveyard; he ordered the people with him to salute the dead people by saying, "O dwellers of the land of believers! " (Muslim; Abu Dawud; Nasai; Ibn Majah)
Since the one who can understand it is greeted, it means the dead recognize those who visit them. Ibn Qayyim al-Jawvziyya, who is known as an investigative scholar, reports the joy felt by the dead when people visit them, especially on Friday and Saturday and the good deeds of their children. (Ibn Qayyim al-Jawvziyya, Kitabu'r-Ruh)
Only Allah knows best.
Moulana Javed ibn Nazir Kachhalia
Checked and approved by Mufti Mohammed Tosir Miah
Darul Ifta Birmingham