Sunan Ibn Majah, Volume 4, Book 23, Hadith 2728 (DarusSalam)

It was narrated from Muhammad bin Munkadir that he heard Jabir bin ‘Abdullah say: “I fell sick and the Messenger of Allah came to visit me, he and Abu Bakr with him, and they came walking. I had lost consciousness, so the Messenger of Allah performed ablution and poured some of the water of his ablution over me. I said: ‘O Messenger of Allah, what should I do? How should I decide about my wealth?’ Until the Verse of inheritance was revealed at the end of An-Nisa’: “If the man or woman whose inheritance is in question has left neither ascendants or descendents.” [4:12] And: “They ask you for a legal verdict. Say: ‘Allah directs (thus) about those who leave neither descendants nor ascendants as heirs.’” [4:176]

حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا سُفْيَانُ، عَنْ مُحَمَّدِ بْنِ الْمُنْكَدِرِ، سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ، يَقُولُ مَرِضْتُ فَأَتَانِي رَسُولُ اللَّهِ صلى الله عليه وسلم يَعُودُنِي هُوَ وَأَبُو بَكْرٍ مَعَهُ وَهُمَا مَاشِيَانِ وَقَدْ أُغْمِيَ عَلَىَّ فَتَوَضَّأَ رَسُولُ اللَّهِ صلى الله عليه وسلم فَصَبَّ عَلَىَّ مِنْ وَضُوئِهِ فَقُلْتُ يَا رَسُولَ اللَّهِ كَيْفَ أَصْنَعُ كَيْفَ أَقْضِي فِي مَالِي حَتَّى نَزَلَتْ آيَةُ الْمِيرَاثِ فِي آخِرِ النِّسَاءِ ‏{وَإِنْ كَانَ رَجُلٌ يُورَثُ كَلاَلَةً‏}‏ الآيَةَ وَ ‏{يَسْتَفْتُونَكَ قُلِ اللَّهُ يُفْتِيكُمْ فِي الْكَلاَلَةِ}‏ الآيَةَ ‏.‏

sunnah.com