[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.
ﷺ قَالَ مَنْ صَلَّى عَلَى جِنَازَةٍ فِي الْمَسْجِدِ فَلَا شَيْءَ لَهُ قَالَ صَالِحٌ فَرَأَيْتُ الْجِنَازَةَ تُوضَعُ فِي الْمَسْجِدِ فَرَأَيْتُ أَبَا هُرَيْرَةَ إِذَا لَمْ يَجِدْ مَوْضِعًا إِلَّا فِي الْمَسْجِدِ انْصَرَفَ وَلَمْ يُصَلِّ عَلَيْهَا لَفْظُ حَدِيثِ أَبِي طَاهِرٍ وَلَيْسَ فِي رِوَايَةِ هِلَالٍ قَوْلُ صَالِحٍ فَهَذَا حَدِيثٌ