Anas bin Malik reported,

The Messenger of Allah ﷺ said, "For me to sit with a group of people remembering Allah the Exalted from the dawn prayer until the sun rises is more beloved to me than freeing four descendants of Ismail. And for me to sit with a group of people remembering Allah from the afternoon prayer until the sun sets is more beloved to me than freeing four."

Azami 10798

Hasan

عن أنس بن مالك قال

قال رسول الله ﷺ: لأن أقعد مع قوم يذكرون الله تعالى من صلاة الغداة حتى تطلع الشمس أحب إلي من أن أعتق أربعة من ولد إسماعيل، ولأن أقعد مع قوم يذكرون الله من صلاة العصر إلى أن تغرب الشمس أحب إلي من أن أعتق أربعة.

الأعظمي 10798حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications
Section
Virtue of dhikr from the Fajr prayer until sunrise and from the Asr prayer until sunset
Numbering
Jami al-Kamil 10798 (2nd edition)
Azami 10798