EC 7102 then IB 5112 at Barcelona
Basel → Barcelona → Lisbon
Timetable, Barcelona time
12:20EC 7102 from Basel at the gate
12:15IB 5112 to Lisbon leaves the gate
23 h 55 apart on the timetable, overnight
IB 5112 leaves 23 h 55 after EC 7102 arrives on the timetable: more than half a day, so not a connection we count.