Al-Bara' (RA) 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).
Hadith ReferenceSahih Muslim / The Book of the Rules of Inheritance / Hadith: 1618