´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).’”
Hadith Referenceسنن ابن ماجه / كتاب الجنائز / 1517
Hadith Gradingالألبانی:حسن | زبیر علی زئی:ضعيف, إسناده ضعيف, سنن أبي داود (3191), انوار الصحيفه، صفحه نمبر 433
´It was narrated that ‘Aishah said:` “By Allah! The Messenger of Allah (ﷺ) did not offer the funeral prayer for Suhail bin Baida’ anywhere but in the mosque.”
Hadith Referenceسنن ابن ماجه / كتاب الجنائز / 1518