FR 3040 then LA 5770 at Barcelona
Prague → Barcelona → Lyon
Timetable, Barcelona time
21:15FR 3040 from Prague at the gate
16:30LA 5770 to Lyon leaves the gate
19 h 15 apart on the timetable, overnight
LA 5770 leaves 19 h 15 after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.