LA 5850 then QR 3618 at Barcelona
Alicante → Barcelona → Santander
Timetable, Barcelona time
08:05LA 5850 from Alicante at the gate
07:10QR 3618 to Santander leaves the gate
23 h 05 apart on the timetable, overnight
QR 3618 leaves 23 h 05 after LA 5850 arrives on the timetable: more than half a day, so not a connection we count.