FR 6723 then IB 1213 at Madrid
Marrakesh → Madrid → Nice
Timetable, Madrid time
22:45FR 6723 from Marrakesh at the gate
16:15IB 1213 to Nice leaves the gatealso LA 1726, VY 5532, QR 6937, AA 8780
17 h 30 apart on the timetable, overnight
IB 1213 leaves 17 h 30 after FR 6723 arrives on the timetable: more than half a day, so not a connection we count.