Narrated Jabir bin 'Abdullah : The Messenger of Allah ﷺ decreed the right to buy the neighboring property applicable to everything which is not divided, but when boundaries are fixed and separate roads made, there is no option.
The Prophet Muhammad also taught us about fairness in business dealings and transactions. He said that we should always be honest with each other and make sure that everyone involved in a transaction gets what they deserve according to Islamic law. This teaches us how important it is for us all to be fair in our dealings with one another, even when it comes something as simple as buying or selling land.