DY 4506 then DY 5503 at Arlanda
Berlin → Stockholm → Barcelona
Timetable, Stockholm time
13:50DY 4506 from Berlin at the gate
12:30DY 5503 to Barcelona leaves the gate
22 h 40 apart on the timetable, overnight
DY 5503 leaves 22 h 40 after DY 4506 arrives on the timetable: more than half a day, so not a connection we count.