Sayyiduna Jabir (may Allah be pleased with him) said: When I was ill, the Messenger of Allah (peace and blessings be upon him) used to visit me. At that time I was not conscious. He (peace and blessings be upon him) performed ablution and poured the leftover water of his ablution on me, and I regained consciousness. I said: "O Messenger of Allah, for whom is my inheritance? My heir is kalalah (one without parents or children)." Then the verse of the shares of inheritance was revealed.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الطهارة / 1118