3O 391 then LA 1635 at Madrid
Tangier → Madrid → Vienna
Timetable, Madrid time
20:003O 391 from Tangier at the gate
19:55LA 1635 to Vienna leaves the gatealso VY 5220, AT 5495
23 h 55 apart on the timetable, overnight
LA 1635 leaves 23 h 55 after 3O 391 arrives on the timetable: more than half a day, so not a connection we count.