It is narrated from Sa'id bin al-Musayyib and Abu Salamah bin 'Abd al-Rahman that the Messenger of Allah (ﷺ) said: "The right of pre-emption applies to property that has not been divided; when the boundaries have been determined, then there is no right of pre-emption."
Hadith Referenceمسند الإمام الشافعي / كتاب الشفعة والصلح وإحياء الموات / 1489
Hadith Takhrijصحیح ثبت موصولا اخرجه ابن ماجة الشفعة، باب اذا وقعت الحدود فلا شفعة (2497) ۔ والبيهقي: 6/ 103، 104 ـ وصححه ابن حبان۔