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