It was narrated from Mihjan that he was in a gathering with the Messenger of Allah (ﷺ) when the Adhan was called for prayer. The A Messenger of Allah (ﷺ) got up, then he came back and Mihjan was still sitting there. The Messenger of Allah (ﷺ) said to him: "What kept you from praying? Are you not a Muslim man?" He said: "Yes, but I had already prayed with my family." The Messenger of Allah (ﷺ)said to him: "When you come you should pray with the people even if you have already prayed"
SahihSahihIsnaad HasanBook 10 · Hadith 81