W6 2377 then QR 3527 at Barcelona
Budapest → Barcelona → Santiago de Compostela
Timetable, Barcelona time
20:05W6 2377 from Budapest at the gate
11:35QR 3527 to Santiago de Compostela leaves the gate
15 h 30 apart on the timetable, overnight
QR 3527 leaves 15 h 30 after W6 2377 arrives on the timetable: more than half a day, so not a connection we count.