3O 373 then QR 3683 at Barcelona
Casablanca → Barcelona → Santander
Timetable, Barcelona time
21:203O 373 from Casablanca at the gate
16:05QR 3683 to Santander leaves the gate
18 h 45 apart on the timetable, overnight
QR 3683 leaves 18 h 45 after 3O 373 arrives on the timetable: more than half a day, so not a connection we count.