The Prophet ﷺ said: If anyone sits at a place where he does not remember Allah, deprivation will descend on him from Allah; and if he lies at a place where he does not remember Allah, deprivation will descend on him from Allah. (Using translation from Abū Dāʾūd 4856)
عَنْ رَسُولِ اللهِ ﷺ قَالَ «مَنْ قَعَدَ مَقْعَدًا لَمْ يَذْكُرِ اللهَ فِيهِ كَانَتْ عَلَيْهِ مِنَ اللهِ تِرَةٌ وَمَنْ قَامَ مَقَامًا لَمْ يَذْكُرِ اللهَ فِيهِ كَانَتْ عَلَيْهِ مِنَ اللهِ تِرَةٌ وَمَنِ اضْطَجَعَ مَضْجَعًا لَمْ يَذْكُرِ اللهَ فِيهِ كَانَتْ عَلَيْهِ مِنَ اللهِ تِرَةٌ»