FR 3040 then AD 7285 at Barcelona
Prague → Barcelona → Lisbon
Timetable, Barcelona time
21:15FR 3040 from Prague at the gate
18:05AD 7285 to Lisbon leaves the gatealso S4 8715
20 h 50 apart on the timetable, overnight
AD 7285 leaves 20 h 50 after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.