I asked 'Abdullah b. Abu Aufa whether Messenger of Allah ﷺ had made any will (in regard to his property). He said: NO. I said: Then why has making of will been made necessary for the Muslims, or why were they commanded to make will? Thereupon he said: He made the will according to the Book of Allah, the Exalted and Majestic. (Using translation from Muslim 1634a)
سَأَلْتُ عَبْدَ اللهِ بْنَ أَبِي أَوْفَى هَلْ أَوْصَى رَسُولُ اللهِ ﷺ؟ قَالَ لَا قُلْتُ فَلِمَ كُتِبَ عَلَى الْمُسْلِمِينَ الْوَصِيَّةُ أَوْ لِمَ أُمِرُوا بِالْوَصِيَّةِ؟ قَالَ أَوْصَى بِكِتَابِ اللهِ ﷻ