QR 167 then DY 5503 at Arlanda
Doha → Stockholm → Barcelona
Timetable, Stockholm time
13:25QR 167 from Doha at the gate
12:30DY 5503 to Barcelona leaves the gate
23 h 05 apart on the timetable, overnight
DY 5503 leaves 23 h 05 after QR 167 arrives on the timetable: more than half a day, so not a connection we count.