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."
English reference: Vol. 1, Book 5, Hadith 1329
Arabic reference: Book 5, Hadith 1390