If you are a tourist you must prove to have 3,000€ or 3,100€ per month per person (that is, 100€ per day). Again, that money is enough to live comfortably almost anywhere in Spain. So there you go, that's the minimum money you'll need as a foreigner in Spain, either as a resident or as a tourist.