Article 122 [source]

Spanish Criminal Code
English translation

Anyone who profits from the proceeds of a crime is obligated to return the property or compensate for the damage up to the amount of their share.