I2 1742 then FR 2066 at Madrid
Málaga → Madrid → Ibiza
Timetable, Madrid time
19:45I2 1742 from Málaga at the gatealso IB 1742
14:40FR 2066 to Ibiza leaves the gate
18 h 55 apart on the timetable, overnight
FR 2066 leaves 18 h 55 after I2 1742 arrives on the timetable: more than half a day, so not a connection we count.