Ibn Abbas reported: It was said, “O Messenger of Allah, which gathering is best?” The Prophet, peace and blessings be upon him, said, “A gathering of those who inspire you to remember Allah when you see them, whose discourse increases your knowledge, and whose good deeds inspire you to remember the Hereafter.”
Source: Musnad Abī Ya’lá 2408
Grade: Hasan (fair) according to Al-Busiri
عَنِ ابْنِ عَبَّاسٍ قَالَ قِيلَ يَا رَسُولَ اللَّهِ أَيُّ جُلَسَائِنَا خَيْرٌ قَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَنْ ذَكَّرَكُمُ اللَّهَ رُؤْيَتُهُ وَزَادَ فِي عِلْمِكُمْ مَنْطِقُهُ وَذَكَّرَكُمْ بِالآخِرَةِ عَمَلُهُ
2408 مسند أبي يعلى الموصلي
6/382 المحدث البوصيري خلاصة حكم المحدث إسناده رواته ثقات في إتحاف الخيرة المهرة