TP 561 then DY 4278 at Lisbon
Hamburg → Lisbon → Stockholm
Timetable, Lisbon time
15:40TP 561 from Hamburg at the gate
15:00DY 4278 to Stockholm leaves the gate
23 h 20 apart on the timetable, overnight
DY 4278 leaves 23 h 20 after TP 561 arrives on the timetable: more than half a day, so not a connection we count.