It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "There is no Muslim man or woman who sleeps at night except that on his head there is a tied rope (with a knot). If he wakes up and remembers Allah Almighty, a knot is untied; then if he gets up, performs ablution and prays, all his knots are untied and he enters the morning lively and energetic, having attained good. But if he stays asleep without remembering Allah, they (the knots) remain a burden on him and he enters the morning in that state."
Imam Abu Ya'la recorded it, and the wording is his; Imam Ahmad bin Hanbal, and Ibn Khuzaymah and Ibn Hibban in their two Sahihs, also recorded it, while its basis is narrated in the two Sahihs and other books from the hadith of Sayyiduna Abu Hurayrah (may Allah be pleased with him). Imam Ahmad bin Hanbal, and Ibn Hibban in his Sahih, also recorded it from the narration of Sayyiduna Uqbah bin Amir (may Allah be pleased with him).