Abdul-Rahman bin Abu Amra reported,

Uthman bin Affan entered the mosque after the sunset prayer and sat alone, so I sat down beside him. He said, "My nephew, I heard the Messenger of Allah ﷺ say, 'Whoever prays the evening prayer in congregation, it is as if he stood in prayer for half the night, and whoever prays the dawn prayer in congregation, it is as if he prayed the whole night.'"

Azami 2366

Sahih

عن عبد الرحمن بن أبي عمرة قال

دخل عثمان بن عفان المسجد بعد صلاة المغرب، فقعد وحده، فقعدت إليه، فقال: يا ابن أخي! سمعت رسول الله ﷺ يقول: من صلى العشاء في جماعة فكأنما قام نصف الليل. ومن صلى الصبح في جماعة فكأنما صلى كله.

الأعظمي 2366صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Congregational prayer
Section
Virtue of Isha and Fajr prayers in congregation
Numbering
Jami al-Kamil 2366 (2nd edition)
Azami 2366