QR 3704 then DY 5502 at Barcelona
Bari → Barcelona → Stockholm
Timetable, Barcelona time
16:50QR 3704 from Bari at the gate
14:10DY 5502 to Stockholm leaves the gate
21 h 20 apart on the timetable, overnight
DY 5502 leaves 21 h 20 after QR 3704 arrives on the timetable: more than half a day, so not a connection we count.