The Book of Prayer
Bulugh al-Maram #505
كتاب الصلاة
وَعَنْ أُبَيِّ بْنِ كَعْبٍ - رضى الله عنه - قَالَ: قَالَ رَسُولُ اَللَّهِ - صلى الله عليه وسلم -«صَلَاةُ اَلرَّجُلِ مَعَ اَلرَّجُلِ أَزْكَى مِنْ صَلَاتِهِ وَحْدَهُ, وَصَلَاتُهُ مَعَ اَلرَّجُلَيْنِ أَزْكَى مِنْ صَلَاتِهِ مَعَ اَلرَّجُلِ, وَمَا كَانَ أَكْثَرَ فَهُوَ أَحَبُّ إِلَى اَللَّهِ عَزَّ وَجَلَّ» رَوَاهُ أَبُو دَاوُدَ, وَالنَّسَائِيُّ, وَصَحَّحَهُ اِبْنُ حِبَّانَ
Narrated 'Ubai bin Ka'b (RA):
Allah's Messenger (ﷺ) said: “A man's prayer offered with another man is purer than his prayer which he offers alone, and his prayer with two men is purer than his prayer with one and if they are more (in number), it is more beloved to Allah, the Mighty the Majestic.”
وَعَنْ أُبَيِّ بْنِ كَعْبٍ - رضى الله عنه - قَالَ: قَالَ رَسُولُ اَللَّهِ - صلى الله عليه وسلم -"صَلَاةُ اَلرَّجُلِ مَعَ اَلرَّجُلِ أَزْكَى مِنْ صَلَاتِهِ وَحْدَهُ, وَصَلَاتُهُ مَعَ اَلرَّجُلَيْنِ أَزْكَى مِنْ صَلَاتِهِ مَعَ اَلرَّجُلِ, وَمَا كَانَ أَكْثَرَ فَهُوَ أَحَبُّ إِلَى اَللَّهِ عَزَّ وَجَلَّ" رَوَاهُ أَبُو دَاوُدَ, وَالنَّسَائِيُّ, وَصَحَّحَهُ اِبْنُ حِبَّانَ
Allah's Messenger (ﷺ) said: "A man's prayer offered with another man is purer than his prayer which he offers alone, and his prayer with two men is purer than his prayer with one and if they are more (in number), it is more beloved to Allah, the Mighty the Majestic."
— Bulugh al-Maram, Hadith 505