3O 393 then AT 5423 at Madrid
Casablanca → Madrid → Tenerife North
Timetable, Madrid time
22:053O 393 from Casablanca at the gate
16:10AT 5423 to Tenerife North leaves the gatealso VY 5484
18 h 05 apart on the timetable, overnight
AT 5423 leaves 18 h 05 after 3O 393 arrives on the timetable: more than half a day, so not a connection we count.