Sunan an-Nasa'i, Book 20, Hadith 3 (In-Book)

It was narrated from Sa'd bin Ishaq bin Ka'b bin Ujrah, from his father, that: His grandfather said: "The Messenger of Allah prayed Maghrib in the masjid of Banu 'Abdul-Ashhal, and when he finished praying some people stood up and offered Nafl prayers. The Prophet said: 'You should offer this prayer in your houses.'"

أَخْبَرَنَا مُحَمَّدُ بْنُ بَشَّارٍ، قَالَ أَنْبَأَنَا إِبْرَاهِيمُ بْنُ أَبِي الْوَزِيرِ، قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ مُوسَى الْفِطْرِيُّ، عَنْ سَعْدِ بْنِ إِسْحَاقَ بْنِ كَعْبِ بْنِ عُجْرَةَ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، قَالَ صَلَّى رَسُولُ اللَّهِ صلى الله عليه وسلم صَلاَةَ الْمَغْرِبِ فِي مَسْجِدِ بَنِي عَبْدِ الأَشْهَلِ فَلَمَّا صَلَّى قَامَ نَاسٌ يَتَنَفَّلُونَ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏ "‏ عَلَيْكُمْ بِهَذِهِ الصَّلاَةِ فِي الْبُيُوتِ ‏" ‏ ‏.‏

sunnah.com