DY 5503 then IB 5940 at Barcelona
Stockholm → Barcelona → Nice
Timetable, Barcelona time
21:45DY 5503 from Stockholm at the gate
21:20IB 5940 to Nice leaves the gatealso LL 5940, VY 8136
23 h 35 apart on the timetable, overnight
IB 5940 leaves 23 h 35 after DY 5503 arrives on the timetable: more than half a day, so not a connection we count.