Sunan Abi Dawud, Book 19, Hadith 4 (Abu Dawud 2889)
Narrated Al-Bara' bin 'Azib:
The last verse revealed about the decease who left no descendants or ascendants: "They ask thee for the legal decision. Say: Allah directs (thus) about those who leave no descendants or ascendants as heirs."