FR 3040 then EC 1298 at Barcelona
Prague → Barcelona → Geneva
Timetable, Barcelona time
21:15FR 3040 from Prague at the gate
21:10EC 1298 to Geneva leaves the gate
23 h 55 apart on the timetable, overnight
EC 1298 leaves 23 h 55 after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.