DY 5503 then TP 1039 at Barcelona
Stockholm → Barcelona → Lisbon
Timetable, Barcelona time
22:45DY 5503 from Stockholm at the gate
21:10TP 1039 to Lisbon leaves the gate
22 h 25 apart on the timetable, overnight
TP 1039 leaves 22 h 25 after DY 5503 arrives on the timetable: more than half a day, so not a connection we count.