B and B is not common in spain. However, if you google ‘hostal' in the area you should find a place to stay which is economically priced
NB. Do not confuse hostel with U.K. hostel
Take look here
http://www.hostal-madrid.info/en/blo-19 … or-a-hotel