I2 1852 then I2 1699 at Madrid
Marrakesh → Madrid → Ibiza
Timetable, Madrid time
15:00I2 1852 from Marrakesh at the gatealso IB 1852, VY 5279, BA 7131, QR 8007, AA 8799
14:05I2 1699 to Ibiza leaves the gate
23 h 05 apart on the timetable, overnight
I2 1699 leaves 23 h 05 after I2 1852 arrives on the timetable: more than half a day, so not a connection we count.