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."
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ مَا حَقُّ امْرِئٍ مُسْلِمٍ يَبِيتُ لَيْلَتَيْنِ وَلَهُ شَيْءٌ يُوصِي فِيهِ إِلاَّ وَوَصِيَّتُهُ مَكْتُوبَةٌ عِنْدَهُ قَالَ وَفِي الْبَابِ عَنِ ابْنِ أَبِي أَوْفَى