EW 2522 then IB 5078 at Barcelona
Stuttgart → Barcelona → Lisbon
Timetable, Barcelona time
20:00EW 2522 from Stuttgart at the gate
19:20IB 5078 to Lisbon leaves the gate
23 h 20 apart on the timetable, overnight
IB 5078 leaves 23 h 20 after EW 2522 arrives on the timetable: more than half a day, so not a connection we count.