Sunan Ibn Majah
2702
Sahih+2

It was narrated from Ibn 'Umar that the Prophet (ﷺ) said:“The Muslim man has no right to spend two nights, if he has something for which will should be made, without having a written will with him.”

SahihAl-Albani
SahihMuhammad Fouad Abd al-Baqi