FR 6723 then I2 1665 at Madrid
Marrakesh → Madrid → Palma de Mallorca
Timetable, Madrid time
22:15FR 6723 from Marrakesh at the gate
13:40I2 1665 to Palma de Mallorca leaves the gatealso IB 1665
15 h 25 apart on the timetable, overnight
I2 1665 leaves 15 h 25 after FR 6723 arrives on the timetable: more than half a day, so not a connection we count.