FR 2508 then QR 3637 at Barcelona
Cologne → Barcelona → Valladolid
Timetable, Barcelona time
18:20FR 2508 from Cologne at the gate
16:05QR 3637 to Valladolid leaves the gate
21 h 45 apart on the timetable, overnight
QR 3637 leaves 21 h 45 after FR 2508 arrives on the timetable: more than half a day, so not a connection we count.