Sahih al-Bukhari 2740
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا خَلاَّدُ بْنُ يَحْيَى، حَدَّثَنَا مَالِكٌ، حَدَّثَنَا طَلْحَةُ بْنُ مُصَرِّفٍ، قَالَ سَأَلْتُ عَبْدَ اللَّهِ بْنَ أَبِي أَوْفَى ـ رضى الله عنهما ـ هَلْ كَانَ النَّبِيُّ صلى الله عليه وسلم أَوْصَى فَقَالَ لاَ. فَقُلْتُ كَيْفَ كُتِبَ عَلَى النَّاسِ الْوَصِيَّةُ أَوْ أُمِرُوا بِالْوَصِيَّةِ قَالَ أَوْصَى بِكِتَابِ اللَّهِ.
Narrated Talha bin Musarrif:
I asked `Abdullah bin Abu `Aufa "Did the Prophet (ﷺ) make a will?" He replied, "No," I asked him, "How is it then that the making of a will has been enjoined on people, (or that they are ordered to make a will)?" He replied, "The Prophet (ﷺ) bequeathed Allah's Book (i.e. Qur'an).
Full reference and source
Sahih al-Bukhari 2740 In-book : Book 55, Hadith 3 USC-MSA web (English) : Vol. 4, Book 51, Hadith 3 (deprecated)
View source on Sunnah.com (opens in a new tab)