The Book of the Etiquette of Sleeping, Lying and Sitting etc
Riyad as-Salihin #157
كتاب آداب النوم
وعنه عن رسول الله صلى الله عليه وسلم قال: «من قعد مقعداً لم يذكر الله تعالى فيه كانت عليه من الله ترة، ومن اضطجع مضجعاً لم يذكر الله فيه كانت عليه من الله ترة» ((رَوَاهُ أبُو دَاوُدَ)). وقد سبق قريباً، وشرحنا «الترة» فيه.
Abu Hurairah (May Allah be pleased with him) reported:
Messenger of Allah (ﷺ) said, “If anyone sits in a gathering where he does not remember Allah, he will bring grief upon himself (on the Day of Resurrection), and he who lies down in a place where he does not remember Allah, will bring grief upon himself (on the Day of Resurrection).”.
وعنه عن رسول الله صلى الله عليه وسلم قال: "من قعد مقعداً لم يذكر الله تعالى فيه كانت عليه من الله ترة، ومن اضطجع مضجعاً لم يذكر الله فيه كانت عليه من الله ترة" ((رَوَاهُ أبُو دَاوُدَ)). وقد سبق قريباً، وشرحنا "الترة" فيه.
Messenger of Allah (ﷺ) said, "If anyone sits in a gathering where he does not remember Allah, he will bring grief upon himself (on the Day of Resurrection), and he who lies down in a place where he does not remember Allah, will bring grief upon himself (on the Day of Resurrection).".
— Riyad as-Salihin, Hadith 157