QR 3772 then FR 3039 at Barcelona
Basel → Barcelona → Prague
Timetable, Barcelona time
13:05QR 3772 from Basel at the gate
11:55FR 3039 to Prague leaves the gate
22 h 50 apart on the timetable, overnight
FR 3039 leaves 22 h 50 after QR 3772 arrives on the timetable: more than half a day, so not a connection we count.