3O 391 then IB 1171 at Madrid
Tangier → Madrid → Marseille
Timetable, Madrid time
16:403O 391 from Tangier at the gate
15:35IB 1171 to Marseille leaves the gatealso LA 1789, CX 1858, AY 4781, VY 5546, QR 8089, AA 8695
22 h 55 apart on the timetable, overnight
IB 1171 leaves 22 h 55 after 3O 391 arrives on the timetable: more than half a day, so not a connection we count.