3O 391 then AZ 2444 at Madrid
Tangier → Madrid → Palma de Mallorca
Timetable, Madrid time
16:403O 391 from Tangier at the gate
14:35AZ 2444 to Palma de Mallorca leaves the gatealso KL 3351, ME 4067, EY 4320, SV 4745, AF 4806, KU 6060, UX 6067, DL 6739, AM 6842, AD 6961, SK 8377, RO 9413
21 h 55 apart on the timetable, overnight
AZ 2444 leaves 21 h 55 after 3O 391 arrives on the timetable: more than half a day, so not a connection we count.