The ban follows protests over the eviction of an 87-year-old woman in Madrid and is part of several proposals that still need parliamentary approval.