Sahih al-Bukhari, Book 85, Hadith 21 (Bukhari 6499)

Narrated Al-Bara:

The last Qur'anic Verse that was revealed (to the Prophet) was the final Verse of Surat-an-Nisa, i.e., 'They ask you for a legal verdict Say: Allah directs (thus) About those who leave No descendants or ascendants as heirs....' (4.176)