GQ 920 then I2 1695 at Madrid
Athens → Madrid → Ibiza
Timetable, Madrid time
13:20GQ 920 from Athens at the gate
11:40I2 1695 to Ibiza leaves the gatealso IB 1695, BA 7142, AA 8785
22 h 20 apart on the timetable, overnight
I2 1695 leaves 22 h 20 after GQ 920 arrives on the timetable: more than half a day, so not a connection we count.