Sahih Muslim 1618a

حَدَّثَنَا عَلِيُّ بْنُ خَشْرَمٍ، أَخْبَرَنَا وَكِيعٌ، عَنِ ابْنِ أَبِي خَالِدٍ، عَنْ أَبِي إِسْحَاقَ، عَنِ الْبَرَاءِ، قَالَ

آخِرُ آيَةٍ أُنْزِلَتْ مِنَ الْقُرْآنِ { يَسْتَفْتُونَكَ قُلِ اللَّهُ يُفْتِيكُمْ فِي الْكَلاَلَةِ}
Al-Bara' (Allah be pleased with him) reported that the last verse revealed in the Holy Qur'an is:" They ask thee for a religious verdict; say: Allah gives you a religious verdict about Kalala (the person who has neither parents nor children)" (iv)

Sahih Muslim — The Book of the Rules of Inheritance — 1618a