Turkish premier leaves for Spain