EW 7520 then EC 7682 at Barcelona
Hamburg → Barcelona → Lisbon
Timetable, Barcelona time
09:30EW 7520 from Hamburg at the gate
21:55EC 7682 to Lisbon leaves the gate
12 h 25 apart on the timetable
EC 7682 leaves 12 h 25 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.