Mishkat al-Masabih 1182
وَعَن كَعْب بن عجْرَة قَالَ: إِنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَتَى مَسْجِدَ بَنِي عَبْدِ الْأَشْهَلِ فَصَلَّى فِيهِ الْمَغْرِبَ فَلَمَّا قَضَوْا صَلَاتَهُمْ رَآهُمْ يُسَبِّحُونَ بَعْدَهَا فَقَالَ: «هَذِهِ صَلَاةُ الْبُيُوتِ» . رَوَاهُ أَبُو دَاوُدَ وَفِي رِوَايَةِ التِّرْمِذِيِّ وَالنَّسَائِيِّ قَامَ نَاسٌ يَتَنَفَّلُونَ فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «عَلَيْكُمْ بِهَذِهِ الصَّلَاة فِي الْبيُوت»
From Kaʿb ibn ʿUjrah, who said: The Prophet ﷺ came to the mosque of Banu ʿAbd al-Ashhal and prayed Maghrib in it. When they had finished their prayer, he saw them praying voluntary prayers after it, and he said: "This is the prayer of the houses." Reported by Abu Dawud. In the narration of at-Tirmidhi and an-Nasaʾi: Some people stood up to pray voluntary prayers, and the Prophet ﷺ said: "Keep to this prayer in the houses."