The Messenger of Allah said: "A Muslim man has no right to spend two nights while he has something to will, except while his will is recorded with him."
Jami` at-Tirmidhi Book 10, Hadith 10