Sunan Abu Dawood 575
Narrated Yazid ibn al-Aswad:
Yazid prayed along with the Messenger of Allah ﷺ when he was a young boy. When he (the Prophet) had prayed there were two persons (sitting) in the corner of the mosque; they did not pray (along with the Prophet). He called for them. They were brought trembling (before him). He asked: What prevented you from praying along with us? They replied: We have already prayed in our houses. He said: Do not do so. If any of you prays in his house and finds that the imam has not prayed, he should pray along with him; and that will be a supererogatory prayer for him.
حَدَّثَنَا حَفْصُ بْنُ عُمَرَ، حَدَّثَنَا شُعْبَةُ، أَخْبَرَنِي يَعْلَى بْنُ عَطَاءٍ، عَنْ جَابِرِ بْنِ يَزِيدَ بْنِ الأَسْوَدِ، عَنْ أَبِيهِأَنَّهُ صَلَّى مَعَ رَسُولِ اللَّهِ ﷺ وَهُوَ غُلاَمٌ شَابٌّ فَلَمَّا صَلَّى إِذَا رَجُلاَنِ لَمْ يُصَلِّيَا فِي نَاحِيَةِ الْمَسْجِدِ فَدَعَا بِهِمَا فَجِيءَ بِهِمَا تُرْعَدُ فَرَائِصُهُمَا فَقَالَ " مَا مَنَعَكُمَا أَنْ تُصَلِّيَا مَعَنَا " . قَالاَ قَدْ صَلَّيْنَا فِي رِحَالِنَا . فَقَالَ " لاَ تَفْعَلُوا إِذَا صَلَّى أَحَدُكُمْ فِي رَحْلِهِ ثُمَّ أَدْرَكَ الإِمَامَ وَلَمْ يُصَلِّ فَلْيُصَلِّ مَعَهُ فَإِنَّهَا لَهُ نَافِلَةٌ " .