3O 377 then QR 3503 at Barcelona
Tangier → Barcelona → Santander
Timetable, Barcelona time
22:053O 377 from Tangier at the gate
11:20QR 3503 to Santander leaves the gate
13 h 15 apart on the timetable, overnight
QR 3503 leaves 13 h 15 after 3O 377 arrives on the timetable: more than half a day, so not a connection we count.