كتاب الصلاة
2
Prayer (Kitab Al-Salat)
(207)
Chapter: The One Who Prays In His House, Then Catches The Congregation, He Should Pray With Them
(57)
باب فِيمَنْ صَلَّى فِي مَنْزِلِهِ ثُمَّ أَدْرَكَ الْجَمَاعَةَ يُصَلِّي مَعَهُمْ

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.

حَدَّثَنَا حَفْصُ بْنُ عُمَرَ، حَدَّثَنَا شُعْبَةُ، أَخْبَرَنِي يَعْلَى بْنُ عَطَاءٍ، عَنْ جَابِرِ بْنِ يَزِيدَ بْنِ الأَسْوَدِ، عَنْ أَبِيهِأَنَّهُ صَلَّى مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم وَهُوَ غُلاَمٌ شَابٌّ فَلَمَّا صَلَّى إِذَا رَجُلاَنِ لَمْ يُصَلِّيَا فِي نَاحِيَةِ الْمَسْجِدِ فَدَعَا بِهِمَا فَجِيءَ بِهِمَا تُرْعَدُ فَرَائِصُهُمَا فَقَالَ ‏"‏ مَا مَنَعَكُمَا أَنْ تُصَلِّيَا مَعَنَا ‏"‏ ‏.‏ قَالاَ قَدْ صَلَّيْنَا فِي رِحَالِنَا ‏.‏ فَقَالَ ‏"‏ لاَ تَفْعَلُوا إِذَا صَلَّى أَحَدُكُمْ فِي رَحْلِهِ ثُمَّ أَدْرَكَ الإِمَامَ وَلَمْ يُصَلِّ فَلْيُصَلِّ مَعَهُ فَإِنَّهَا لَهُ نَافِلَةٌ ‏"‏ ‏.‏
GradeSahih (Al-Albani)  صحيح   (الألباني) حكم     :
Reference : Sunan Abi Dawud 575
In-book reference : Book 2, Hadith 185
English translation : Book 2, Hadith 575