Abu Hurairah reported,

The Messenger of Allah ﷺ said, "When one of you sleeps, Satan ties three knots at the back of his head, striking each knot with the words, 'You have a long night ahead, so sleep on.' If he wakes and remembers Allah, one knot is untied. If he performs ablution, another knot is untied. If he prays, all the knots are untied, and he begins his morning energetic and in good spirits. Otherwise, he begins his morning sluggish and in foul spirits."

Nasai 1608

Sahih

أخبرنا محمد بن عبد الله بن يزيد قال حدثنا سفيان عن أبي الزناد عن الأعرج

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

قال رسول الله ﷺ إذا نام أحدكم عقد الشيطان على رأسه ثلاث عقد يضرب على كل عقدة ليلا طويلا أي ارقد فإن استيقظ فذكر الله انحلت عقدة فإن توضأ انحلت عقدة أخرى فإن صلى انحلت العقد كلها فيصبح طيب النفس نشيطا وإلا أصبح خبيث النفس كسلان

النسائي 1608صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Night prayer and voluntary prayers of the day
Chapter
Encouragement to pray at night
Numbering
Darussalam 1608
Nasai 1608