FR 6723 then I2 1695 at Madrid
Marrakesh → Madrid → Ibiza
Timetable, Madrid time
22:15FR 6723 from Marrakesh at the gate
11:40I2 1695 to Ibiza leaves the gatealso IB 1695, BA 7142, AA 8785
13 h 25 apart on the timetable, overnight
I2 1695 leaves 13 h 25 after FR 6723 arrives on the timetable: more than half a day, so not a connection we count.