IB 778 then FR 394 at Madrid
Hamburg → Madrid → Ibiza
Timetable, Madrid time
10:00IB 778 from Hamburg at the gatealso LA 1700, VY 5127, AT 5907, AA 8705
06:25FR 394 to Ibiza leaves the gate
20 h 25 apart on the timetable, overnight
FR 394 leaves 20 h 25 after IB 778 arrives on the timetable: more than half a day, so not a connection we count.