FR 3040 then IB 5078 at Barcelona
Prague → Barcelona → Lisbon
Timetable, Barcelona time
21:15FR 3040 from Prague at the gate
19:20IB 5078 to Lisbon leaves the gate
22 h 05 apart on the timetable, overnight
IB 5078 leaves 22 h 05 after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.