Sunan Ibn Majah 1517
سنن ابن ماجه#1517Hasanحَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ، حَدَّثَنَا وَكِيعٌ، عَنِ ابْنِ أَبِي ذِئْبٍ، عَنْ صَالِحٍ، مَوْلَى التَّوْأَمَةِ عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " مَنْ صَلَّى عَلَى جِنَازَةٍ فِي الْمَسْجِدِ فَلَيْسَ لَهُ شَىْءٌ " .
It was narrated that Abu Hurairah said:“The Messenger of Allah (ﷺ) said: ‘Whoever offers the funeral prayer in the mosque will have nothing (i.e., no reward).’”
Scholarly Authentication
The label above is the grade most of these scholars gave — one dissenting opinion no longer speaks for all of them. If any scholar calls a narration fabricated, that verdict is shown instead, whatever the others say. Each scholar's own wording:
Al-AlbaniHasan
Muhammad Fouad Abd al-BaqiHasan
Zubair Ali ZaiDaif
In-book reference: 6:85