FR 3040 then QR 3638 at Barcelona
Prague → Barcelona → Rome
Timetable, Barcelona time
21:15FR 3040 from Prague at the gate
20:15QR 3638 to Rome leaves the gatealso IB 5770, LL 5770
23 h apart on the timetable, overnight
QR 3638 leaves 23 h after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.