Two or more than two persons are considered as a group (for the congregational prayers)
باب اثْنَانِ فَمَا فَوْقَهُمَا جَمَاعَةٌ
7232
Sahih Bukhari
Sahih
حَدَّثَنَا إِسْمَاعِيلُ، حَدَّثَنِي مَالِكٌ، عَنْ أَبِي الزِّنَادِ، عَنِ الأَعْرَجِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ قَالَ اللَّهُ إِذَا أَحَبَّ عَبْدِي لِقَائِي أَحْبَبْتُ لِقَاءَهُ، وَإِذَا كَرِهَ لِقَائِي كَرِهْتُ لِقَاءَهُ "
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "Allah said, 'If My slaves loves the meeting with Me, I too love the meeting with him; and if he dislikes the meeting with Me, I too dislike the meeting with him.' " (See Hadith No. 514, Vol. 8)
Reference: Sahih al-Bukhari 7504 In-book : Book 97, Hadith 129 USC-MSA web (English) : Vol. 9, Book 93, Hadith 595 (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.