A Catholic church in Barcelona has offered up its open-air cloisters for Muslims to eat and pray together.