EW 7520 then LL 5112 at Barcelona
Hamburg → Barcelona → Lisbon
Timetable, Barcelona time
16:20EW 7520 from Hamburg at the gate
12:15LL 5112 to Lisbon leaves the gate
19 h 55 apart on the timetable, overnight
LL 5112 leaves 19 h 55 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.