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:7007Abū Ḥāmid Aḥmad b. Muḥammad b. al-Ḥasan al-Ḥāfiẓ > Aḥmad b. Ḥafṣ b. ʿAbdullāh from my father > Ibrāhīm b. Ṭahmān > Abū Ḥuṣayn > al-Shaʿbī > Ibn ʿAbbās

[Machine] That the Prophet ﷺ prayed at a grave after it was buried 7008 times, and Abu Abdullah al-Hafiz informed us, narrating from Ali ibn Isa ibn Ibrahim, narrating from Abu Bakr Muhammad ibn al-Nadr al-Jaroudi, narrating from Abu Ghassan Muhammad ibn Amr al-Razi, Zunayj narrated from Yahya ibn al-Durais, narrating from Ibrahim ibn Tahoma who mentioned it in a similar manner.  

البيهقي:٧٠٠٧فَأَخْبَرَنَاهُ أَبُو الْحَسَنِ مُحَمَّدُ بْنُ الْحُسَيْنِ بْنِ دَاوُدَ الْعَلَوِيُّ أنبأ أَبُو حَامِدٍ أَحْمَدُ بْنُ مُحَمَّدِ بْنِ الْحَسَنِ الْحَافِظُ ثنا أَحْمَدُ بْنُ حَفْصِ بْنِ عَبْدِ اللهِ حَدَّثَنِي أَبِي حَدَّثَنِي إِبْرَاهِيمُ بْنُ طَهْمَانَ عَنْ أَبِي حُصَيْنٍ عَنِ الشَّعْبِيِّ عَنِ ابْنِ عَبَّاسٍ

أَنَّ النَّبِيَّ ﷺ صَلَّى عَلَى قَبْرٍ بَعْدَمَا دُفِنَ 7008 وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا عَلِيُّ بْنُ عِيسَى بْنِ إِبْرَاهِيمَ ثنا أَبُو بَكْرٍ مُحَمَّدُ بْنُ النَّضْرِ الْجَارُودِيُّ ثنا أَبُو غَسَّانَ مُحَمَّدُ بْنُ عَمْرٍو الرَّازِيُّ زُنَيْجٌ ثنا يَحْيَى بْنُ الضُّرَيْسِ ثنا إِبْرَاهِيمُ بْنُ طَهْمَانَ فَذَكَرَهُ بِمِثْلِهِ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ زُنَيْجٍ أَبِي غَسَّانَ وَكَذَلِكَ رَوَاهُ مُحَمَّدُ بْنُ حِمْيَرَ وَكِنَانَةُ بْنُ جَبَلَةَ عَنْ إِبْرَاهِيمَ بْنِ طَهْمَانَ عَنْ أَبِي حُصَيْنٍ وَقَدْ رُوِيَ عَنْ إِبْرَاهِيمَ عَنْ أَبِي إِسْحَاقَ الشَّيْبَانِيِّ