Sunan Abu Dawud #2888
Shares of Inheritance (Kitab Al-Fara'id) 19:4
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."