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.
bayhaqi:7011[Chain 1] Abū Bakr b. al-Ḥasan al-Qāḍī And ʾAbū Saʿīd b. Abū ʿAmr > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-ʿAbbās b. Muḥammad al-Dūrī > Khālid b. Khidāsh [Chain 2] ʿAlī b. Aḥmad b. ʿAbdān > Aḥmad b. ʿUbayd al-Ṣaffār > Muʿādh b. al-Muthanná > Khālid b. Khidāsh > Ḥammād b. Zayd > Thābit > Anas

[Machine] The Prophet ﷺ passed by a grave and said, "Whose grave is this?" They said, "The grave of so and so." He said, "Could you not have informed me?" So they made it smaller and humbled it. Then he prayed for him after he was buried and said, "These graves are filled with darkness upon their inhabitants, and indeed Allah will illuminate them with my prayers upon them."  

البيهقي:٧٠١١أَخْبَرَنَاهُ أَبُو بَكْرِ بْنُ الْحَسَنِ الْقَاضِي وَأَبُو سَعِيدِ بْنُ أَبِي عَمْرٍو قَالَا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا الْعَبَّاسُ بْنُ مُحَمَّدٍ الدُّورِيُّ ثنا خَالِدُ بْنُ خِدَاشٍ ح وَأَخْبَرَنَا عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ أنبأ أَحْمَدُ بْنُ عُبَيْدٍ الصَّفَّارُ ثنا مُعَاذُ بْنُ الْمُثَنَّى ثنا خَالِدُ بْنُ خِدَاشٍ ثنا حَمَّادُ بْنُ زَيْدٍ عَنْ ثَابِتٍ عَنْ أَنَسٍ

أَنَّ النَّبِيَّ ﷺ مَرَّ بِقَبْرٍ يُدْفَنُ فَقَالَ قَبْرُ مَنْ هَذَا قَالُوا قَبْرُ فُلَانٍ قَالَ أَفَلَا كُنْتُمْ آذَنْتُمُونِي قَالَ فَصَغَّرُوا أَمْرَهُ وَحَقَّرُوهُ فَصَلَّى عَلَيْهِ بَعْدَ مَا دُفِنَ وَقَالَ هَذِهِ الْقُبُورُ مَمْلُوءَةٌ عَلَى أَهْلِهَا ظُلْمَةً وَإِنَّ اللهَ ﷻ لَيُنَوِّرُهَا بِصَلَاتِي عَلَيْهَا وَقَدْ  

رَوَاهُ ثَابِتٌ عَنْ أَبِي رَافِعٍ عَنْ أَبِي هُرَيْرَةَ وَهُوَ مَحْفُوظٌ مِنَ الْوَجْهَيْنِ جَمِيعًا