I2 1700 then FR 3831 at Madrid
Ibiza → Madrid → Bologna
Timetable, Madrid time
17:10I2 1700 from Ibiza at the gatealso IB 1700
14:45FR 3831 to Bologna leaves the gate
21 h 35 apart on the timetable, overnight
FR 3831 leaves 21 h 35 after I2 1700 arrives on the timetable: more than half a day, so not a connection we count.