Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:2890Muḥammad b. ʿAbd al-Malik b. Abū al-Shawārib > Yaḥyá b. ʿAmr b. Mālik al-Nukrī from his father > Abū al-Jawzāʾ > Ibn ʿAbbās

"One of the companions of the Prophet ﷺ pitched a tent on a grave without knowing that it was a grave. Suddenly he heard a person from the grave reciting Surah al-Mulk till he completed it. So he went to the Prophet ﷺ and said: 'Oh Messenger of Allah, I pitched my tent on a grave without realizing that is was a grave. Then suddenly I heard a person from the grave reciting Surah al-Mulk till he completed it.' The Messenger of Allah ﷺ said: 'It is the defender, it is the deliverer - it delivers from the punishment of the grave.'"  

الترمذي:٢٨٩٠حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ الْمَلِكِ بْنِ أَبِي الشَّوَارِبِ قَالَ حَدَّثَنَا يَحْيَى بْنُ عَمْرِو بْنِ مَالِكٍ النُّكْرِيُّ عَنْ أَبِيهِ عَنْ أَبِي الْجَوْزَاءِ عَنِ ابْنِ عَبَّاسٍ قَالَ

ضَرَبَ بَعْضُ أَصْحَابِ النَّبِيِّ ﷺ خِبَاءَهُ عَلَى قَبْرٍ وَهُوَ لاَ يَحْسِبُ أَنَّهُ قَبْرٌ فَإِذَا فِيهِ إِنْسَانٌ يَقْرَأُ سُورَةَ تَبَارَكَ الَّذِي بِيَدِهِ الْمُلْكُ حَتَّى خَتَمَهَا فَأَتَى النَّبِيَّ ﷺ فَقَالَ يَا رَسُولَ اللَّهِ إِنِّي ضَرَبْتُ خِبَائِي عَلَى قَبْرٍ وَأَنَا لاَ أَحْسِبُ أَنَّهُ قَبْرٌ فَإِذَا فِيهِ إِنْسَانٌ يَقْرَأُ سُورَةَ تَبَارَكَ الْمُلْكُ حَتَّى خَتَمَهَا فَقَالَ رَسُولُ اللَّهِ ﷺ هِيَ الْمَانِعَةُ هِيَ الْمُنْجِيَةُ تُنْجِيهِ مِنْ عَذَابِ الْقَبْرِ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ غَرِيبٌ مِنْ هَذَا الْوَجْهِ وَفِي الْبَابِ عَنْ أَبِي هُرَيْرَةَ

See similar narrations below:

Collected by Ṭabarānī
tabarani:12801ʿAbdullāh b. Aḥmad b. Ḥanbal And ʾIbrāhīm b. Mattawayh > Muḥammad b. ʿAbd al-Malik b. Abū al-Shawārib > Yaḥyá b. ʿAmr b. Mālik al-Nukrī from his father > Abū al-Jawzāʾ > Ibn ʿAbbās

"One of the companions of the Prophet ﷺ pitched a tent on a grave without knowing that it was a grave. Suddenly he heard a person from the grave reciting Surah al-Mulk till he completed it. So he went to the Prophet ﷺ and said: 'Oh Messenger of Allah, I pitched my tent on a grave without realizing that is was a grave. Then suddenly I heard a person from the grave reciting Surah al-Mulk till he completed it.' The Messenger of Allah ﷺ said: 'It is the defender, it is the deliverer - it delivers from the punishment of the grave.'" (Using translation from Tirmidhī 2890)  

الطبراني:١٢٨٠١حَدَّثَنَا عَبْدُ اللهِ بْنُ أَحْمَدَ بْنِ حَنْبَلٍ وَإِبْرَاهِيمُ بْنُ مَتَّوَيْهِ قَالَا حَدَّثَنِي مُحَمَّدُ بْنُ عَبْدِ الْمَلِكِ بْنِ أَبِي الشَّوَارِبِ ثنا يَحْيَى بْنُ عَمْرِو بْنِ مَالِكٍ النُّكْرِيُّ عَنْ أَبِيهِ عَنْ أَبِي الْجَوْزَاءِ عَنِ ابْنِ عَبَّاسٍ قَالَ

ضَرَبَ بَعْضُ أَصْحَابِ النَّبِيِّ ﷺ خِبَاءً عَلَى قَبْرٍ وَلَا يَحْسَبُ أَنَّهُ قَبْرٌ فَإِذَا هُوَ إِنْسَانٌ يَقْرَأُ {تَبَارَكَ الَّذِي بِيَدِهِ الْمُلْكُ} حَتَّى خَتَمَهَا فَأَتَى النَّبِيَّ ﷺ فَقَالَ يَا رَسُولَ اللهِ ضَرَبْتُ خِبَائِي عَلَى قَبْرٍ وَأَنَا لَا أَحْسَبُ أَنَّهُ قَبْرٌ فَإِذَا إِنْسَانٌ يَقْرَأُ تَبَارَكَ حَتَّى خَتَمَهَا فَقَالَ رَسُولُ اللهِ ﷺ «هِيَ الْمَانِعَةُ هِيَ الْمُنْجِيَةُ تُنْجِيهِ مِنْ عَذَابِ الْقَبْرِ»