Sahih Muslim , Book 11, Hadith 3939 (USC-MSA) ⓘ
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 177).
حَدَّثَنَا عَلِيُّ بْنُ خَشْرَمٍ، أَخْبَرَنَا وَكِيعٌ، عَنِ ابْنِ أَبِي خَالِدٍ، عَنْ أَبِي إِسْحَاقَ، عَنِ الْبَرَاءِ، قَالَ آخِرُ آيَةٍ أُنْزِلَتْ مِنَ الْقُرْآنِ { يَسْتَفْتُونَكَ قُلِ اللَّهُ يُفْتِيكُمْ فِي الْكَلاَلَةِ}
also referenced under: Book 23, Hadith 13 (In-Book) & Hadith 1618 (Reference)