Volume 3 · Book 34 · Hadith 415
Narrated Jabir: Allah's Apostle gave pre-emption (to the partner) in every joint property, but if the boundaries of the property were demarcated or the ways and streets were fixed, then there was no pre-emption.
— Sahih Bukhari, Volume 3, Book 34: Sales and Trade, Hadith #415