Yes, both terminals of Barcelona Josep Tarradellas - El Prat international airport (T1 and T2) in Catalonia, Spain, remain open 24 hours a day, and passengers in transit can wait inside the facilities during a layover to make their connection.
The Sleep&Fly hotel located inside Terminal 1 of El Prat airport in Barcelona provides travelers in transit with cozy guest rooms featuring private bathroom and amenities.
Other hotels located near the terminals of Barcelona airport - El Prat Josep Tarradellas in Spain are:
INNside by Meliá Barcelona Aeropuerto (4 stars)
BAH Barcelona Airport Hotel (4 stars)
Hotel Blauet (1 star)
Yes, you can connect your devices to the Internet via the free WiFi network provided by Aena while in Barcelona airport. Select the network on your phone, tablet or laptop and access unlimited wireless connection after a brief registration process and e-mail address confirmation.