EW 7520 then LH 1127 at Barcelona
Hamburg → Barcelona → Frankfurt am Main
Timetable, Barcelona time
18:20EW 7520 from Hamburg at the gate
12:55LH 1127 to Frankfurt am Main leaves the gate
18 h 35 apart on the timetable, overnight
LH 1127 leaves 18 h 35 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.