Does the following or similar come in the Hadith?
When the family of a deceased make salam at his qabar (grave) he hears the salam.
Yes it does.
Sayyiduna ‘Abdullah ibn Abbas (radiyallahu ‘anhuma) reports that Rasulullah (sallallahu ‘alayhi wasallam) said: ‘Whenever any of you passes by the grave of his Muslim brother whom he knew in his lifetime, and you make salam to him, Allah then returns his soul to his body so that he may reply to the salam.’
Classified as sahih by Hafiz Ibn Abdul Barr: Ibn Kathir, vol. 3, pg. 575 and Hafiz Abdul Haqq Al-Ishbili – refer Al Akhamul Wusta: vol. 2, pg. 152.
Sayyiduna Buraydah (radiyallahu ‘anhu) reports that Rasulullah (sallallahu’alayhi wasallam) would teach the Sahabah that, ‘When they enter the graveyard, they should greet its inhabitants with the following words, ‘Peace be upon the believers among those in the graves, and surely through the will of Allah Ta’ala, we will soon join you. We ask Almighty Allah for eternal comfort for us and for you.’
(Sahih Muslim, Hadith: 2254)
Hafiz Ibn Qayyim (rahimahullah), the famous student of Hafiz Ibn Taymiyah, says it is impossible that we be instructed to make salam to things that cannot hear us, this is in fact a greeting and an address to something which can hear and perceive.
(Kitabur Ruh, pg. 15)
Hafiz Ibn Kathir (rahimahullah) has also mentioned this analogy in his Tafsir.
And Allah Ta’ala Knows best,
Answered by: Moulana Muhammad Abasoomar
Checked by: Moulana Haroon Abasoomar