Abu Hurairah reported,

The Prophet ﷺ said, "No people sit in a gathering in which they do not remember Allah and do not invoke blessings upon their Prophet except that it will be a source of regret for them. If He wills, He will punish them, and if He wills, He will forgive them."

Tirmidhi 3380

Sahih

حدثنا محمد بن بشار حدثنا عبد الرحمن بن مهدي حدثنا سفيان عن صالح مولى التوأمة

عن أبي هريرة رضي الله عنه

عن النبي ﷺ قال ما جلس قوم مجلسا لم يذكروا الله فيه ولم يصلوا على نبيهم إلا كان عليهم ترة فإن شاء عذبهم وإن شاء غفر لهم

الترمذي 3380صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Supplications
Chapter
People who sit and do not mention Allah
Numbering
Darussalam 3380
Tirmidhi 3380