DY 3658 then QR 3637 at Barcelona
Copenhagen → Barcelona → Valladolid
Timetable, Barcelona time
20:00DY 3658 from Copenhagen at the gate
16:05QR 3637 to Valladolid leaves the gate
20 h 05 apart on the timetable, overnight
QR 3637 leaves 20 h 05 after DY 3658 arrives on the timetable: more than half a day, so not a connection we count.