The One Who Greets at the Blessed Grave Receives a Reply
Some of the Companions, such as Abdullah ibn Umar (may Allah be pleased with them both), would greet the Prophet ﷺ when they returned to Madinah from a journey. It was also the practice of the Companions (may Allah be pleased with them) that during the blessed life of the Messenger of Allah ﷺ, when they came into his presence they would offer the greeting and then leave the mosque; they would not do this at every prayer. It was the blessed habit of the Prophet ﷺ that whoever greeted him, he would return the greeting. And even now, whoever goes near the noble grave and offers the greeting, the Prophet ﷺ returns it.
When the Companions (may Allah be pleased with them) came to the Mother of the Believers Aisha (may Allah be pleased with her), they would greet the Messenger of Allah ﷺ in the same way they used to during his lifetime. The Companions (may Allah be pleased with them) would offer the greeting in these words:
السلام على النبى ورحمة الله وبركاته
“Peace be upon the Messenger of Allah ﷺ, and may Allah’s mercy and His blessings descend.”
Every Believer Receives a Reply When Greeted at the Grave
Going to the graves of all believers and greeting them is general. However, when a person comes to the grave of someone he knew during his life and greets him, Allah the Exalted returns the soul of the deceased to his body, and he replies to the one who greeted him.
This narration is da’if (weak). In its chain of narration is Abd al-Rahman ibn Zayd, an abandoned (matruk) narrator, who narrates fabricated (mawdu’) reports from his father, as Imam al-Hakim mentioned in Al-Madkhal, page 104. Allamah al-Albani (may Allah have mercy on him) also mentioned it in Silsilat al-Ahadith al-Da’ifa wal-Mawdu’a, no. 3493. Abd al-Haqq al-Ishbili’s declaring its chain sahih (authentic) is not correct. Hafiz Ibn Rajab (may Allah have mercy on him) refuted this and declared it munkar (rejected). (Mubashir Ahmad Rabbani)
So it is established that when the soul of a believer returns to him and he replies when greeted at his grave, then the Imam of the Prophets and the best of creation replies all the more so.