BUKHARI 2495: from Jābir b. ʿAbdullāh —
The Prophet ﷺ established the right of Shu'fa (i.e. Preemption) in joint properties; but when the land is divided and the ways are demarcated, then there is no pre-emption.

البخاري ٢٤٩٥: عن جابر بن عبد الله —
إِنَّمَا جَعَلَ النَّبِيُّ ﷺ الشُّفْعَةَ فِي كُلِّ مَا لَمْ يُقْسَمْ فَإِذَا وَقَعَتِ الْحُدُودُ وَصُرِّفَتِ الطُّرُقُ فَلاَ شُفْعَةَ


Sound (Bukhārī)
Bukhārī > Partnership > § Sharing land, etc.
hadithunlocked.com