Language:
كتاب فضائل القرآن
66  
Virtues of the Qur'an
(18)
Chapter: To recommend the Book of Allah عز وجل
(18)
باب الْوَصَاةِ بِكِتَابِ اللَّهِ عَزَّ وَجَلَّ
Sahih al-Bukhari 5022

Narrated Talha:

I asked `Abdullah bin Abi `Aufa, "Did the Prophet (ﷺ) make a will (to appoint his successor or bequeath wealth)?" He replied, "No." I said, "How is it prescribed then for the people to make wills, and they are ordered to do so while the Prophet (ﷺ) did not make any will?" He said, "He made a will wherein he recommended Allah's Book."

حَدَّثَنَا مُحَمَّدُ بْنُ يُوسُفَ، حَدَّثَنَا مَالِكُ بْنُ مِغْوَلٍ، حَدَّثَنَا طَلْحَةُ، قَالَ سَأَلْتُ عَبْدَ اللَّهِ بْنَ أَبِي أَوْفَى أَوْصَى النَّبِيُّ صلى الله عليه وسلم فَقَالَ لاَ‏.‏ فَقُلْتُ كَيْفَ كُتِبَ عَلَى النَّاسِ الْوَصِيَّةُ، أُمِرُوا بِهَا وَلَمْ يُوصِ قَالَ أَوْصَى بِكِتَابِ اللَّهِ‏.‏
Reference : Sahih al-Bukhari 5022
In-book reference : Book 66, Hadith 44
USC-MSA web (English) reference : Vol. 6, Book 61, Hadith 540
  (deprecated numbering scheme)