Sahih Bukhari | Volume 6 | Hadith Number 177

Narrated by Al-Bara
The last Verse that was revealed was:

'They ask you for a legal verdict: Say: Allah directs (thus) about Al-Kalalah (those who leave no descendants or ascendants as heirs).' And the last Sura which was revealed was Baraatun (9).