Rent to buys are available in Spain. A seller will have discussed this as an option with their agent when they listed the property and this will be advertised. Many buyers like this option but the supply is limited as it is the seller who ultimately has to decide to sell the property in this mannor. The lawyers will raise a contract that is legally binding for both parties. It is perfectly safe to do but ensure the contracts are done by your lawyer.