Mishkat al-Masabih 1152
Yazid b. al-Aswad said:
I was present with the Prophet at his pilgrimage and prayed the Morning Prayer along with him in the mosque of al-Khaif. When he finished his prayer and turned away there were two men at the back of the people who had not prayed along with him. He said, “Bring them to me,” and they were brought trembling with fear. He asked what had prevented them from praying along with him, and they replied, “Messenger of God, we had already prayed in our lodging.” He said, “Don’t do so. When you pray in your lodging and then come to a mosque where there is a congregation, you must pray along with them, and it will be a supererogatory prayer for you. 

Tirmidhi, Abu Dawud and Nasa’i transmitted it.
عَن يزِيد بن الْأسود قَالَ: شَهِدْتُ مَعَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ حَجَّتَهُ فَصَلَّيْتُ مَعَهُ صَلَاةَ الصُّبْحِ فِي مَسْجِدِ الْخَيْفِ فَلَمَّا قَضَى صَلَاتَهُ وَانْحَرَفَ فَإِذَا هُوَ بِرَجُلَيْنِ فِي آخِرِ الْقَوْمِ لَمْ يُصَلِّيَا مَعَهُ قَالَ: «عَلَيَّ بِهِمَا» فَجِيءَ بِهِمَا تُرْعَدُ فَرَائِصُهُمَا فَقَالَ: «مَا مَنَعَكُمَا أَنْ تُصَلِّيَا مَعَنَا؟» . فَقَالَا: يَا رَسُولَ اللَّهِ إِنَّا كُنَّا قَدْ صَلَّيْنَا فِي رِحَالِنَا. قَالَ: «فَلَا تَفْعَلَا إِذَا صَلَّيْتُمَا فِي رِحَالِكُمَا ثُمَّ أَتَيْتُمَا مَسْجِدَ جَمَاعَةٍ فَصَلِّيَا مَعَهُمْ فَإِنَّهَا لَكُمَا نَافِلَةٌ» . رَوَاهُ التِّرْمِذِيُّ وَأَبُو دَاوُدَ وَالنَّسَائِيُّ