Islamic centre failed to get planning permission