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