IB 1212 then FR 2389 at Madrid
Nice → Madrid → Tetouan
Timetable, Madrid time
14:45IB 1212 from Nice at the gatealso VY 5296, QR 8006
13:15FR 2389 to Tetouan leaves the gate
22 h 30 apart on the timetable, overnight
FR 2389 leaves 22 h 30 after IB 1212 arrives on the timetable: more than half a day, so not a connection we count.