Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:23385ʿAbdullāh b. Yazīd > Ḥaywah > Bakr b. ʿAmr > Abū ʿAbd al-Malik ʿAlī b. Yazīd al-Dimashqī > Balaghah > Ḥudhayfah

[Machine] Narrated by the Prophet ﷺ , he said, "The virtue of a nearby home, meaning close to the mosque, over a distant home, is like the virtue of a fighter over one who sits idle."  

أحمد:٢٣٣٨٥حَدَّثَنَا عَبْدُ اللهِ بْنُ يَزِيدَ حَدَّثَنَا حَيْوَةُ حَدَّثَنِي بَكْرُ بْنُ عَمْرٍو أَنَّ أَبَا عَبْدِ الْمَلِكِ عَلِيَّ بْنَ يَزِيدَ الدِّمَشْقِيَّ حَدَّثَهُ أَنَّهُ بَلَغَهُ عَنْ حُذَيْفَةَ

عَنِ النَّبِيِّ ﷺ أَنَّهُ قَالَ إِنَّ فَضْلَ الدَّارِ الْقَرِيبَةِ يَعْنِي مِنَ الْمَسْجِدِ عَلَى الدَّارِ الْبَعِيدَةِ كَفَضْلِ الْغَازِي عَلَى الْقَاعِدِ  


See similar narrations below:

Collected by Aḥmad, Suyūṭī
ahmad:23287Mūsá b. Dāwud > Ibn Lahīʿah > Bakr b. ʿAmr > Abū ʿAbd al-Malik > Ḥudhayfah b. al-Yamān

[Machine] The Messenger of Allah ﷺ said: "The virtue of a house close to the mosque is like the virtue of a warrior over a resident."  

أحمد:٢٣٢٨٧حَدَّثَنَا مُوسَى بْنُ دَاوُدَ حَدَّثَنَا ابْنُ لَهِيعَةَ عَنْ بَكْرِ بْنِ عَمْرٍو عَنْ أَبِي عَبْدِ الْمَلِكِ عَنْ حُذَيْفَةَ بْنِ الْيَمَانِ قَالَ

قَالَ رَسُولُ اللهِ ﷺ فَضْلُ الدَّارِ الْقَرِيبَةِ مِنَ الْمَسْجِدِ عَلَى الدَّارِ الشَّاسِعَةِ كَفَضْلِ الْغَازِي عَلَى الْقَاعِدِ