4Y 531 then LH 1118 at Frankfurt
Ibiza → Frankfurt am Main → Madrid
Timetable, Frankfurt am Main time
22:104Y 531 from Ibiza at the gate
21:15LH 1118 to Madrid leaves the gate
23 h 05 apart on the timetable, overnight
LH 1118 leaves 23 h 05 after 4Y 531 arrives on the timetable: more than half a day, so not a connection we count.