USC-MSA web (English) : Book 36, Hadith 35
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
أَيُّمَا دَارٍ أَوْ أَرْضٍ قُسِمَتْ فِي الْجَاهِلِيَّةِ فَهِيَ عَلَى قَسْمِ الْجَاهِلِيَّةِ وَأَيُّمَا دَارٍ أَوْ أَرْضٍ أَدْرَكَهَا الإِسْلاَمُ وَلَمْ تُقْسَمْ فَهِيَ عَلَى قَسْمِ الإِسْلاَمِ "
Yahya related to me from Malik that Thawr ibn Zayd ad-Dili said, "I heard that the Messenger of Allah (ﷺ) said, 'A house or land that has been divided in the Jahiliyya, it is according to the division of the Jahiliyya. A house or land which has not been divided before the coming of Islam is divided according to Islam.' "
Full reference and source
USC-MSA web (English) : Book 36, Hadith 35 Arabic : Book 36, Hadith 1439
View source on Sunnah.com (opens in a new tab)