AT 964 then LA 5768 at Barcelona
Casablanca → Barcelona → Santander
Timetable, Barcelona time
11:45AT 964 from Casablanca at the gate
11:00LA 5768 to Santander leaves the gate
23 h 15 apart on the timetable, overnight
LA 5768 leaves 23 h 15 after AT 964 arrives on the timetable: more than half a day, so not a connection we count.