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