FR 3040 then QR 3563 at Barcelona
Prague → Barcelona → Palma de Mallorca
Timetable, Barcelona time
21:15FR 3040 from Prague at the gate
21:10QR 3563 to Palma de Mallorca leaves the gatealso VY 3908, IB 5298, LL 5298
23 h 55 apart on the timetable, overnight
QR 3563 leaves 23 h 55 after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.