Sunan Ibn Majah · Hadith 1584
Chapters Regarding Funerals - كتاب الجنائز
حدثنا علي بن محمد، حدثنا وكيع، عن ابن أبي ذئب، عن صالح، مولى التوأمة عن أبي هريرة، قال قال رسول الله صلى الله عليه وسلم " من صلى على جنازة في المسجد فليس له شىء " .
It wasnarrated that Abu Hurairah said: “The Messenger of Allah (ﷺ)said: ‘Whoever offers the funeral prayer in the mosque will havenothing (i.e., no reward).’”
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).