QR 3522 then SK 1812 at Barcelona
Málaga → Barcelona → Stockholm
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
17:45SK 1812 to Stockholm leaves the gate
16 h 25 apart on the timetable
SK 1812 leaves 16 h 25 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.