SPANISH prime minister Pedro Sanchez is planning to stop people from the UK buying second homes in the country.