He can put a raised flower bed against the wall but if he causes damp/damage you can claim in respect of the damage caused.
Unfortunately, you have to wait until damage is done before claiming and legally he does not have to leave a gap. Warning him you will claim unless he considers the consequences may cause a re think.
I am an English solicitor who deals with English law.
If there are any further points please reply.