[Machine] The Messenger of Allah ﷺ used to offer the Fajr prayer in the Mosque of Al-Khaif. After he had finished, he saw two men in the back of the mosque who had not prayed with him. He sent for them and they came trembling. He asked them, "What is the matter with you, why did you not pray with us?" They replied, "We have already prayed in our homes." The Messenger of Allah ﷺ said, "When any one of you comes to the mosque, he should join the congregation in prayer, for it is worthier for him."
أَنَّ رَسُولَ اللهِ ﷺ صَلَّى الْغَدَاةَ فِي مَسْجِدِ الْخَيْفِ فَرَأَى رَجُلَيْنِ بَعْدَمَا انْصَرَفَ فِي مُؤَخَّرِ الْمَسْجِدِ فَبَعَثَ إِلَيْهِمَا فَجِيءَ بِهِمَا يُرْعَدُ فَرَائِصُهُمَا فَقَالَ مَا شَأْنُكُمَا لَمْ تُصَلِّيَا مَعَنَا فَقَالَا قَد صَلَّيْنَا فِي رِحَالِنَا فَقَالَ إِذَا أَتَى أَحَدُكُمُ الْجَمِيعَ وَقَدْ صَلَّى فِي بَيْتِهِ فَلْيُصَلِّ مَعَهُمْ فَإِنَّهَا لَهُ نَافِلَةٌ