Ash-Shama'il Al-Muhammadiyah, Book 41, Hadith 280 (English) ⓘ
'Abdullah bin sa'd Radiyallahu 'Anhu says: "I enquired from Rasulullah Sallallahu 'Alayhi Wasallam, is it more meritorious to perform nafil salaah in the home or in the masjid? Rasulullah Sallallahu 'Aayhi Wasallam replied: 'Do you observe that my house is so near the masjid (which does not make it difficult, or cause a hindrance in coming to the masjid, in spite of all this) I prefer to perform the salaah, besides the faraa-id, in my house, rather than in the masjid".
حَدَّثَنَا عَبَّاسٌ الْعَنْبَرِيُّ، قَالَ: حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ، عَنْ مُعَاوِيَةَ بْنِ صَالِحٍ، عَنِ الْعَلاءِ بْنِ الْحَارِثِ، عَنْ حَرَامِ بْنِ مُعَاوِيَةَ، عَنْ عَمِّهِ عَبْدِ اللهِ بْنِ سَعْدٍ، قَالَ: سَأَلْتُ رَسُولَ اللهِ صلى الله عليه وسلم عَنِ الصَّلاةِ فِي بَيْتِي وَالصَّلاةِ فِي الْمَسْجِدِ، قَالَ: قَدْ تَرَى مَا أَقْرَبَ بَيْتِي مِنَ الْمَسْجِدِ، فَلأَنْ أُصَلِّيَ فِي بَيْتِي أَحَبُّ إِلَيَّ مِنْ أَنْ أُصَلِّيَ فِي الْمَسْجِدِ، إِلا أَنْ تَكُونَ صَلاةً مَكْتُوبَةً.
also referenced under: Book 42, Hadith 297 (In-Book)