Two or more than two persons are considered as a group (for the congregational prayers)
باب اثْنَانِ فَمَا فَوْقَهُمَا جَمَاعَةٌ
2731
Sahih Bukhari
Sahih
حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ، حَدَّثَنَا حَمَّادٌ ـ هُوَ ابْنُ زَيْدٍ ـ عَنْ حُمَيْدٍ، عَنْ أَنَسٍ ـ رضى الله عنه ـ أَنَّ النَّبِيَّ صلى الله عليه وسلم كَانَ فِي غَزَاةٍ فَقَالَ إِنَّ أَقْوَامًا بِالْمَدِينَةِ خَلْفَنَا، مَا سَلَكْنَا شِعْبًا وَلاَ وَادِيًا إِلاَّ وَهُمْ مَعَنَا فِيهِ، حَبَسَهُمُ الْعُذْرُ " وَقَالَ مُوسَى حَدَّثَنَا حَمَّادٌ، عَنْ حُمَيْدٍ، عَنْ مُوسَى بْنِ أَنَسٍ، عَنْ أَبِيهِ، قَالَ النَّبِيُّ صلى الله عليه وسلم قَالَ أَبُو عَبْدِ اللَّهِ الأَوَّلُ أَصَحُّ
Narrated Anas:
While the Prophet (ﷺ) was in a Ghazwa he said, "Some people have remained behind us in Medina and we never crossed a mountain path or a valley, but they were with us (i.e. sharing the reward with us), as they have been held back by a (legal) excuse. "
Reference: Sahih al-Bukhari 2839 In-book : Book 56, Hadith 55 USC-MSA web (English) : Vol. 4, Book 52, Hadith 92 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.