I heard the Messenger of Allah ﷺ say, "It is not right for a Muslim man to let three nights pass without having his will written and kept with him."
حدثنا عبد الرزاق حدثنا معمر عن الزهري عن سالم
سمعت رسول الله ﷺ يقول ما حق امرئ مسلم تمر عليه ثلاث ليال إلا ووصيته عنده