Allah's Messenger (ﷺ) decided the validity of preemption in every joint undivided property, but if the boundaries were well marked or the ways and streets were fixed, then there was no pre-emption.
Sahih al-Bukhari Book 34, Hadith 160