Sunan Ibn Majah – Hadith No : 1390

It wasnarrated that Abu Hurairah said: “The Messenger of Allah (ﷺ)said: ‘At night Satan ties a rope in which there are three knots tothe nape of the neck of anyone of you. If he wakes up and remembersAllah, one knot is untied. If he performs ablution, another knot isuntied, and if he gets up to pray, all the knots are untied, so hewakes up energetic and cheerful, he has already earned somethinggood.But if he does not do that, he wakes up bad-tempered, havingearnednothing good.”

Hadith In Arabic Text :

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

Chapter : Establishing the Prayer and the Sunnah Regarding Them – كتاب إقامة الصلاة والسنة فيها