Bara bin Azib reported,

The last verse revealed was "They ask you for a ruling. Say, Allah gives you a ruling concerning those who leave no descendants or ascendants as heirs" [Nisa 4:176], and the last surah revealed was Baraah.

Azami 12429

Sahih

عن البراء بن عازب يقول

آخر آية نزلت: {يستفتونك قل الله يفتيكم في الكللة} [سورة النساء: ١٧٦]، وآخر سورة نزلت براءة.

الأعظمي 12429صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "And those who believed afterward and emigrated and fought alongside you, they are of you. And those of blood relationship are more entitled to one another in the decree of Allah. Indeed, Allah is Aleem of all things."
Numbering
Jami al-Kamil 12429 (2nd edition)
Azami 12429