FR 2508 then QR 3771 at Barcelona
Cologne → Barcelona → Basel
Timetable, Barcelona time
18:20FR 2508 from Cologne at the gate
08:45QR 3771 to Basel leaves the gate
14 h 25 apart on the timetable, overnight
QR 3771 leaves 14 h 25 after FR 2508 arrives on the timetable: more than half a day, so not a connection we count.