DY 5503 then QR 3547 at Barcelona
Stockholm → Barcelona → Santiago de Compostela
Timetable, Barcelona time
22:15DY 5503 from Stockholm at the gate
21:15QR 3547 to Santiago de Compostela leaves the gate
23 h apart on the timetable, overnight
QR 3547 leaves 23 h after DY 5503 arrives on the timetable: more than half a day, so not a connection we count.