Sayyiduna Abu Huraira (may Allah be pleased with him) narrates: The Noble Prophet (peace and blessings be upon him) said: "Whenever a person sits in a gathering and does not remember Allah, it will be a cause of regret for them. When a person walks on a path and does not remember Allah in it, it will be a cause of regret for them. And when a person goes to his bed and does not remember Allah, this too will be a cause of regret for him."
Hadith Referenceصحیح ابن حبان / كتاب الرقائق / 853
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الصحيحة» (78).فضيلة الشيخ العلّامة شُعيب الأرناؤوطحديث صحيح، رجاله ثقات، إلا أن فيه عنعنة الوليد وهو مدلس.