[Machine] He asked Abu Ayyub, the companion of the Messenger of Allah ﷺ and may Allah be pleased with him, about a man who prays at his house and then comes to the mosque and catches up with that prayer, should he repeat it with the people or not? We have asked the Messenger of Allah ﷺ about that and he said, "Yes, he should repeat it. It is a reward for him to join the congregation."
أَنَّهُ سَأَلَ أَبَا أَيُّوبَ صَاحِبَ رَسُولِ اللهِ ﷺ وَرَضِيَ عَنْهُ عَنِ الرَّجُلِ يُصَلِّي فِي بَيْتِهِ ثُمَّ يَأْتِي الْمَسْجِدَ فَيُدْرِكُ تِلْكَ الصَّلَاةَ أَيُعِيدُها مَعَ النَّاسِ أَمْ لَا؟ قَدْ سَأَلْنَا رَسُولَ اللهِ ﷺ عَنْ ذَلِكَ فَقَالَ «نَعَمْ يُعِيدُهَا ذَلِكَ لَهُ سَهْمُ جَمْعٍ»