Sahih Bukhari

Hadith #2738

Narrated `Abdullah bin `Umar:Allah's Messenger (ﷺ) said, ""It is not permissible for any Muslim who has something to will to stay for two nights without having his last will and testament written and kept ready with him