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:7040Abū al-Fatḥ Hilāl b. Muḥammad b. Jaʿfar al-Ḥaffār> al-Ḥusayn b. Yaḥyá b. ʿAyyāsh > Ibrāhīm b. Mujashhir > Wakīʿ > Ibn Abū Dhiʾb > Abū Ṭāhir al-Faqīh > Abū Bakr al-Qaṭṭān > Aḥmad b. Yūsuf > ʿAbd al-Razzāq > Maʿmar Wa-al-Thhawrī > Ibn Abū Dhiʾb > Ṣāliḥ a freed slave of al-Tawʾamah > Abū Hurayrah

[Machine] He said, "Whoever prays upon a funeral in the mosque, he shall have nothing." Salih said, "So I saw the funeral being placed in the mosque, and I saw Abu Hurairah when he couldn't find a place except in the mosque, he would leave and not pray upon it." This is the narration of Abu Taher's hadith, and in Hilal's narration, there is no statement from Salih. So this is a hadith.  

البيهقي:٧٠٤٠أَخْبَرَنَاهُ أَبُو الْفَتْحِ هِلَالُ بْنُ مُحَمَّدِ بْنِ جَعْفَرٍ الْحَفَّارُ بِبَغْدَادَ أنبأ الْحُسَيْنُ بْنُ يَحْيَى بْنِ عَيَّاشٍ أنبأ إِبْرَاهِيمُ بْنُ مُجَشِّرٍ ثنا وَكِيعٌ عَنِ ابْنِ أَبِي ذِئْبٍ وَأَخْبَرَنَا أَبُو طَاهِرٍ الْفَقِيهُ أنبأ أَبُو بَكْرٍ الْقَطَّانُ حَدَّثَنَا أَحْمَدُ بْنُ يُوسُفَ حَدَّثَنَا عَبْدُ الرَّزَّاقِ أنبأ مَعْمَرٌ وَالثَّوْرِيُّ جَمِيعًا عَنِ ابْنِ أَبِي ذِئْبٍ عَنْ صَالِحٍ مَوْلَى التَّوْأَمَةِ عَنْ أَبِي هُرَيْرَةَ أَنَّ النَّبِيَّ

ﷺ قَالَ مَنْ صَلَّى عَلَى جِنَازَةٍ فِي الْمَسْجِدِ فَلَا شَيْءَ لَهُ قَالَ صَالِحٌ فَرَأَيْتُ الْجِنَازَةَ تُوضَعُ فِي الْمَسْجِدِ فَرَأَيْتُ أَبَا هُرَيْرَةَ إِذَا لَمْ يَجِدْ مَوْضِعًا إِلَّا فِي الْمَسْجِدِ انْصَرَفَ وَلَمْ يُصَلِّ عَلَيْهَا لَفْظُ حَدِيثِ أَبِي طَاهِرٍ وَلَيْسَ فِي رِوَايَةِ هِلَالٍ قَوْلُ صَالِحٍ فَهَذَا حَدِيثٌ  

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