Talha reported,

I asked Abdullah bin Abu Awfa رضي الله عنهم, "Did the Prophet ﷺ make a will?"He replied, "No."I asked, "Then how is making a will prescribed for people, or how were they commanded to do so?"He said, "He bequeathed the Book of Allah."

Bukhari 4460

Sahih

حدثنا أبو نعيم حدثنا مالك بن مغول

عن طلحة قال

سألت عبد الله بن أبي أوفى رضي الله عنهما أوصى النبي ﷺ فقال لا فقلت كيف كتب على الناس الوصية أو أمروا بها قال أوصى بكتاب الله

البخاري 4460صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Expeditions
Chapter
Illness of the Prophet ﷺ and his death
Numbering
Darussalam 4460
Bukhari 4460