Upvote:1
You should report the loss of the passport and visa to the police, to the nearest consulate or embassy of the country that issued the passport, and to the Spanish immigration authorities. They will be able to tell you how to replace your lost visa.