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).'" (AR)
English reference (AR): Vol. 1, Book 6, Hadith 1517 (AR)
Arabic reference (AR): Book 6, Hadith 1584 (AR)