Sayyiduna Hudhayfah bin Yaman (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: The virtue of the house farther from the mosque over the one closer is like the virtue of the one who participates in battle over the one who stays behind.
Hadith Referenceالفتح الربانی / أبواب المساجد / 1325
Hadith Gradingمحدثین:ضعیف
Hadith Takhrij«اسناده ضعيف جدا، ابو عبد الملك علي بن يزيد الالھاني واھي الحديث، ثم ھو لم يسمع من حذيفة۔ ، (انظر مسند أحمد ترقيم الرسالة: 23287 ترقیم بيت الأفكار الدولية: 23676»
Brief Explanation
Benefits: … In several hadiths, the virtue of walking towards the mosque and of the worshipper whose house is far from the mosque has been described in various ways. In any case, those whose houses are close to the mosque benefit more from the mosques; they are able to reach the mosque even in sickness, rain, or due to some valid excuse, and they can spend more of their time in the houses of Allah, and so on.