Sahih al-Bukhari, Book 75, Hadith 36 (Bukhari 5462)

Narrated Jabir bin `Abdullah:

The Prophet (ﷺ) came to me while I was ill. He performed ablution and threw the remaining water on me (or said, "Pour it on him) " When I came to my senses I said, "O Allah's Messenger (ﷺ)! I have no son or father to be my heir, so how will be my inheritance?" Then the Verse of inheritance was revealed.