LH 5 then X3 2258 at Frankfurt
Hamburg → Frankfurt am Main → Gran Canaria
Timetable, Frankfurt am Main time
10:10LH 5 from Hamburg at the gate
08:20X3 2258 to Gran Canaria leaves the gate
22 h 10 apart on the timetable, overnight
X3 2258 leaves 22 h 10 after LH 5 arrives on the timetable: more than half a day, so not a connection we count.