Sahih Muslim 779
Sahih Muslim · Book 6: The Book of Prayer - Travellers · It is recommended to offer voluntary prayers in one’s house although it is permissible to offer them in the masjid
Abu Musa reported Allah's Apostle (ﷺ) as saying:
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ بَرَّادٍ الأَشْعَرِيُّ ، وَمُحَمَّدُ بْنُ الْعَلاَءِ ، قَالاَ حَدَّثَنَا أَبُو أُسَامَةَ ، عَنْ بُرَيْدٍ ، عَنْ أَبِي بُرْدَةَ ، عَنْ أَبِي مُوسَى ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " مَثَلُ الْبَيْتِ الَّذِي يُذْكَرُ اللَّهُ فِيهِ وَالْبَيْتِ الَّذِي لاَ يُذْكَرُ اللَّهُ فِيهِ مَثَلُ الْحَىِّ وَالْمَيِّتِ " .
The house in which remembrance of Allah is made and the house in which Allah is not remembered are like the living and the dead.