Full Sharh — Riyad as-Salihin 486
وعن أبي هريرة رضي الله عنه، أن رسول الله صلى الله عليه وسلم ، قال: "يعقد الشيطان على قافية، رأس أحدكم، إذا هو نام، ثلاث عقد، يضرب على كل عقدة: عليك ليل طويل فارقد، فإن استيقظ أحدكم، فذكر الله تعالى انحلت عقدة، فإن توضأ انحلت عقدة، فإن صلى انحلت عقدة، فأصبح نشيطًا طيب النفس، وإلا أصبح خبيث النفس كسلان" ((متفق عليه)) .
English Translation
Abu Hurairah (May Allah be pleased with him) reported:: The Messenger of Allah (ﷺ) said, "When any one of you sleeps, Satan ties three knots at the back of his neck. He recites this incantation at every knot: 'You have a long night, so sleep.' If he awakes and remembers Allah, one knot is loosened. If he performs Wudu', the (second) knot is loosened; and if he performs prayer, (all) knots are loosened. He begins his morning in a happy and refreshed mood; otherwise, he gets up in bad spirits and sluggish state.".
Source
Riyad as-Salihin(رياض الصالحين)
The Book of Virtues
Hadith Number
486