Abu Huraira reported: The Prophet, peace and blessings be upon him, said, “No people sit in a gathering without remembering Allah, or sending blessings upon their Prophet, but that they will earn the displeasure of Allah. If Allah wills, He will punish them. If He wills, He will forgive them.”
Source: Sunan al-Tirmidhī 3380
Grade: Sahih (authentic) according to Al-Albani
عَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ مَا جَلَسَ قَوْمٌ مَجْلِسًا لَمْ يَذْكُرُوا اللَّهَ فِيهِ وَلَمْ يُصَلُّوا عَلَى نَبِيِّهِمْ إِلَّا كَانَ عَلَيْهِمْ تِرَةً فَإِنْ شَاءَ عَذَّبَهُمْ وَإِنْ شَاءَ غَفَرَ لَهُمْ
3380 سنن الترمذي كتاب الدعوات باب ما جاء في القوم يجلسون ولا يذكرون الله
5607 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الجامع