AT 964 then LA 5743 at Barcelona
Casablanca → Barcelona → Málaga
Timetable, Barcelona time
11:45AT 964 from Casablanca at the gate
11:35LA 5743 to Málaga leaves the gate
23 h 50 apart on the timetable, overnight
LA 5743 leaves 23 h 50 after AT 964 arrives on the timetable: more than half a day, so not a connection we count.