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