FR 5316 then I2 1699 at Madrid
Rome → Madrid → Ibiza
Timetable, Madrid time
23:40FR 5316 from Rome at the gate
15:50I2 1699 to Ibiza leaves the gatealso LA 1821, AT 5338, VY 5392, QR 6944, BA 7143, PC 7899, AA 8752
16 h 10 apart on the timetable, overnight
I2 1699 leaves 16 h 10 after FR 5316 arrives on the timetable: more than half a day, so not a connection we count.