Generally, your neighbour only has the right to build a boundary line (connecting line) between two properties, but there are circumstances in which he may legally build on your land. You can give them permission to build a party wall and foundations on your land.