FR 5310 then IB 1699 at Madrid
Milan Bergamo → Madrid → Ibiza
Timetable, Madrid time
16:10FR 5310 from Milan Bergamo at the gate
15:45IB 1699 to Ibiza leaves the gate
23 h 35 apart on the timetable, overnight
IB 1699 leaves 23 h 35 after FR 5310 arrives on the timetable: more than half a day, so not a connection we count.