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