EC 7656 then EW 7603 at Lisbon
Barcelona → Lisbon → Hamburg
Timetable, Lisbon time
11:10EC 7656 from Barcelona at the gate
10:45EW 7603 to Hamburg leaves the gate
23 h 35 apart on the timetable, overnight
EW 7603 leaves 23 h 35 after EC 7656 arrives on the timetable: more than half a day, so not a connection we count.