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.

The best voluntary salah is the salah prayed at home

bukhari:731ʿAbd al-Aʿlá b. Ḥammād > Wuhayb > Mūsá b. ʿUqbah > Sālim Abū al-Naḍr > Busr b. Saʿīd > Zayd b. Thābit

Messenger of Allah ﷺ made a small room in the month of Ramadan (Saʿid said, "I think that Zaid bin Thabit said that it was made of a mat") and he prayed there for a few nights, and so some of his companions prayed behind him. When he came to know about it, he kept on sitting. In the morning, he went out to them and said, "I have seen and understood what you did. You should pray in your houses, for the best prayer of a person is that which he prays in his house except the compulsory prayers."  

البخاري:٧٣١حَدَّثَنَا عَبْدُ الأَعْلَى بْنُ حَمَّادٍ قَالَ حَدَّثَنَا وُهَيْبٌ قَالَ حَدَّثَنَا مُوسَى بْنُ عُقْبَةَ عَنْ سَالِمٍ أَبِي النَّضْرِ عَنْ بُسْرِ بْنِ سَعِيدٍ عَنْ زَيْدِ بْنِ ثَابِتٍ

أَنَّ رَسُولَ اللَّهِ ﷺ اتَّخَذَ حُجْرَةً قَالَ حَسِبْتُ أَنَّهُ قَالَ مِنْ حَصِيرٍ فِي رَمَضَانَ فَصَلَّى فِيهَا لَيَالِيَ فَصَلَّى بِصَلاَتِهِ نَاسٌ مِنْ أَصْحَابِهِ فَلَمَّا عَلِمَ بِهِمْ جَعَلَ يَقْعُدُ فَخَرَجَ إِلَيْهِمْ فَقَالَ قَدْ عَرَفْتُ الَّذِي رَأَيْتُ مِنْ صَنِيعِكُمْ فَصَلُّوا أَيُّهَا النَّاسُ فِي بُيُوتِكُمْ فَإِنَّ أَفْضَلَ الصَّلاَةِ صَلاَةُ الْمَرْءِ فِي بَيْتِهِ إِلاَّ الْمَكْتُوبَةَ  

قَالَ عَفَّانُ حَدَّثَنَا وُهَيْبٌ حَدَّثَنَا مُوسَى سَمِعْتُ أَبَا النَّضْرِ عَنْ بُسْرٍ عَنْ زَيْدٍ عَنِ النَّبِيِّ ﷺ

See similar narrations below:

Collected by Ibn Ḥibbān, Bayhaqī

ذِكْرُ الْبَيَانِ بِأَنَّ صَلَاةَ الْمَرْءِ النَّوَافِلَ كُلَّهَا فِي بَيْتِهِ كَانَ أَعْظَمَ لِأَجْرِهِ

ibnhibban:2491Aḥmad b. ʿAlī b. al-Muthanná Bi-al-Mawṣil > ʿAbd al-Aʿlá b. Ḥammād > Wuhayb b. Khālid > Mūsá b. ʿUqbah > Sālim Abū al-Naḍr > Busr b. Saʿīd > Zayd b. Thābit

[Machine] That the Messenger of Allah ﷺ took a room made of bricks during Ramadan and prayed in it during the nights. Some of his companions prayed with him. When he came to know about them, he made a gesture to sit and said, "I have come to know about what I saw from your actions. O people, pray in your houses, for the best prayer of a person is in his house except for the obligatory prayers."  

ابن حبّان:٢٤٩١أَخْبَرَنَا أَحْمَدُ بْنُ عَلِيِّ بْنِ الْمُثَنَّى بِالْمَوْصِلِ حَدَّثَنَا عَبْدُ الْأَعْلَى بْنُ حَمَّادٍ حَدَّثَنَا وُهَيْبُ بْنُ خَالِدٍ حَدَّثَنَا مُوسَى بْنُ عُقْبَةَ عَنْ سَالِمٍ أَبِي النَّضْرِ عَنْ بُسْرِ بْنِ سَعِيدٍ عَنْ زَيْدِ بْنِ ثَابِتٍ

أَنَّ رَسُولَ اللَّهِ ﷺ اتَّخَذَ حُجْرَةً مِنْ حُصُرٍ فِي رَمَضَانَ فَصَلَّى فِيهَا لَيَالِيَ فَصَلَّى بِصَلَاتِهِ أُنَاسٌ مِنْ أَصْحَابِهِ فَلَمَّا عَلِمَ بِهِمْ جَعَلَ يَقْعُدُ قَالَ فَخَرَجَ إِلَيْهِمْ فَقَالَ «قَدْ عَرَفْتُ الَّذِي رَأَيْتُ مِنْ صَنِيعِكُمْ فَصَلُّوا أَيُّهَا النَّاسُ فِي بُيُوتِكُمْ فَإِنَّ أَفْضَلَ صَلَاةِ الْمَرْءِ فِي بَيْتِهِ إِلَّا الْمَكْتُوبَةَ»  

bayhaqi:4607[Chain 1] Abū al-Ḥasan ʿAlī b. Aḥmad b. ʿAbdān > Aḥmad b. ʿUbayd al-Ṣaffār > Aḥmad b. Qādim al-Marwazī And ʾAḥmad b. Bishr al-Mirthadī [Chain 2] Abū ʿAbdullāh Muḥammad b. Yaʿqūb > ʿImrān b. Mūsá > ʿAbd al-Aʿlá b. Ḥammād > Wuhayb > Mūsá b. ʿUqbah > Abū al-Naḍr > Busr b. Saʿīd > Zayd b. Thābit

Messenger of Allah ﷺ made a small room in the month of Ramadan (Saʿid said, "I think that Zaid bin Thabit said that it was made of a mat") and he prayed there for a few nights, and so some of his companions prayed behind him. When he came to know about it, he kept on sitting. In the morning, he went out to them and said, "I have seen and understood what you did. You should pray in your houses, for the best prayer of a person is that which he prays in his house except the compulsory prayers." (Using translation from Bukhārī 731)   

البيهقي:٤٦٠٧أنبأ أَبُو الْحَسَنِ عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ أنبأ أَحْمَدُ بْنُ عُبَيْدٍ الصَّفَّارُ ثنا أَحْمَدُ بْنُ قَادِمٍ الْمَرْوَزِيُّ وَأَحْمَدُ بْنُ بِشْرٍ الْمِرْثَدِيُّ (ح) وَأنبأ أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو عَبْدِ اللهِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا عِمْرَانُ بْنُ مُوسَى قَالُوا ثنا عَبْدُ الْأَعْلَى بْنُ حَمَّادٍ ثنا وُهَيْبٌ ثنا مُوسَى بْنُ عُقْبَةَ قَالَ سَمِعْتُ أَبَا النَّضْرِ عَنْ بُسْرِ بْنِ سَعِيدٍ عَنْ زَيْدِ بْنِ ثَابِتٍ

أَنَّ رَسُولَ اللهِ ﷺ اتَّخَذَ حُجْرَةً قَالَ حَسِبْتُ أَنَّهُ قَالَ مِنْ حَصِيرٍ فِي رَمَضَانُ فَصَلَّى فِيهَا لَيَالِيَ وَفِي رِوَايَةِ الْمِرْثَدِيِّ لَيْلَتَيْنِ فَصَلَّى بِصَلَاتِهِ نَاسٌ مِنْ أَصْحَابِهِ فَلَمَّا عَلِمَ بِهِمْ جَعَلَ يَقْعُدُ فَخَرَجَ إِلَيْهِمْ فَقَالَ قَدْ عَرَفْتُ الَّذِي رَأَيْتُ مِنْ صَنِيعِكُمْ فَصَلُّوا أَيُّهَا النَّاسُ فِي بُيُوتِكُمْ فَإِنَّ أَفْضَلَ الصَّلَاةِ صَلَاةُ الْمَرْءِ فِي بَيْتِهِ إِلَّا الْمَكْتُوبَةَ وَفِي رِوَايَةِ الْمَرْوَزِيِّ وَالْمِرْثَدِيِّ عَنْ سَالِمٍ أَبِي النَّضْرِ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ عَبْدِ الْأَعْلَى بْنِ حَمَّادٍ وَرَوَاهُ مُسْلِمٌ عَنْ مُحَمَّدِ بْنِ حَاتِمٍ عَنْ بَهْزٍ عَنْ وُهَيْبٍ