FR 3040 then QR 3666 at Barcelona
Prague → Barcelona → Napoli
Timetable, Barcelona time
21:15FR 3040 from Prague at the gate
19:45QR 3666 to Napoli leaves the gatealso IB 5806, LL 5806, VY 6124
22 h 30 apart on the timetable, overnight
QR 3666 leaves 22 h 30 after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.