Mishkat al-Masabih 1152
عَن يزِيد بن الْأسود قَالَ: شَهِدْتُ مَعَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ حَجَّتَهُ فَصَلَّيْتُ مَعَهُ صَلَاةَ الصُّبْحِ فِي مَسْجِدِ الْخَيْفِ فَلَمَّا قَضَى صَلَاتَهُ وَانْحَرَفَ فَإِذَا هُوَ بِرَجُلَيْنِ فِي آخِرِ الْقَوْمِ لَمْ يُصَلِّيَا مَعَهُ قَالَ: «عَلَيَّ بِهِمَا» فَجِيءَ بِهِمَا تُرْعَدُ فَرَائِصُهُمَا فَقَالَ: «مَا مَنَعَكُمَا أَنْ تُصَلِّيَا مَعَنَا؟» . فَقَالَا: يَا رَسُولَ اللَّهِ إِنَّا كُنَّا قَدْ صَلَّيْنَا فِي رِحَالِنَا. قَالَ: «فَلَا تَفْعَلَا إِذَا صَلَّيْتُمَا فِي رِحَالِكُمَا ثُمَّ أَتَيْتُمَا مَسْجِدَ جَمَاعَةٍ فَصَلِّيَا مَعَهُمْ فَإِنَّهَا لَكُمَا نَافِلَةٌ» . رَوَاهُ التِّرْمِذِيُّ وَأَبُو دَاوُدَ وَالنَّسَائِيُّ
From Yazid ibn al-Aswad, who said: I was present with the Prophet ﷺ at his Hajj, and I prayed the Subh prayer with him in Masjid al-Khayf. When he had finished his prayer and turned around, there were two men at the back of the people who had not prayed with him. He said: "Bring them to me." They were brought, their shoulder muscles trembling, and he said: "What prevented you from praying with us?" They said: "O Messenger of Allah, we had already prayed in our dwellings." He said: "Do not do that. When you have prayed in your dwellings and then come to a mosque where there is a congregation, pray with them, for it will be a voluntary prayer for you." Reported by at-Tirmidhi, Abu Dawud and an-Nasaʾi.