AT 985 then 3O 393 at Casablanca
Málaga → Casablanca → Madrid
Timetable, Casablanca time
19:15AT 985 from Málaga at the gate
12:503O 393 to Madrid leaves the gate
17 h 35 apart on the timetable, overnight
3O 393 leaves 17 h 35 after AT 985 arrives on the timetable: more than half a day, so not a connection we count.