Jami` at-Tirmidhi, Book 30, Hadith 3 (Tirmidhi 2185)

Ibn 'Umar narrated that the Messenger of Allah (S.A.W) said:

"It is not right for a Muslim man to spend two nights, having what he would will, without having his will written with him."