Mishkat al-Masabih 1153
وَعَن بسر بن محجن عَن أَبِيه أَنَّهُ كَانَ فِي مَجْلِسٍ مَعَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَأُذِّنَ بِالصَّلَاةِ فَقَامَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَصَلَّى وَرَجَعَ وَمِحْجَنٌ فِي مَجْلِسِهِ فَقَالَ لَهُ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَا مَنَعَكَ أَنْ تُصَلِّيَ مَعَ النَّاسِ؟ أَلَسْتَ بِرَجُلٍ مُسْلِمٍ؟» فَقَالَ: بَلَى يَا رَسُولَ اللَّهِ وَلَكِنِّي كُنْتُ قَدْ صَلَّيْتُ فِي أَهْلِي فَقَالَ لَهُ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا جِئْتَ الْمَسْجِدَ وَكُنْتَ قَدْ صَلَّيْتَ فَأُقِيمَتِ الصَّلَاةُ فَصَلِّ مَعَ النَّاسِ وَإِنْ كُنْتَ قَدْ صَلَّيْتَ» . رَوَاهُ مَالك وَالنَّسَائِيّ
From Busr ibn Mihjan, from his father: He was in a gathering with the Messenger of Allah ﷺ when the adhan for prayer was called. The Messenger of Allah ﷺ stood up and prayed, then came back, and Mihjan was [still] in his place. The Messenger of Allah ﷺ said to him: "What prevented you from praying with the people? Are you not a Muslim man?" He said: "Yes indeed, O Messenger of Allah, but I had already prayed with my family." The Messenger of Allah ﷺ said to him: "When you come to the mosque, having already prayed, and the iqamah for the prayer is called, pray with the people, even if you have already prayed." Reported by Malik and an-Nasaʾi.