Amr bin al-Sharid (may Allah have mercy on him) narrates from his father (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The neighbour has more right to what is adjacent to him." Abu Qilabah (may Allah have mercy on him) said: Al-Asma'i stated: 'Al-saqab' means being attached, that is, the neighbour is meant.
Ibrahim bin Maysarah contradicted him in its chain.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشفعة / 11578