EW 7520 then QR 3545 at Barcelona
Hamburg → Barcelona → Santiago de Compostela
Timetable, Barcelona time
18:20EW 7520 from Hamburg at the gate
09:10QR 3545 to Santiago de Compostela leaves the gate
14 h 50 apart on the timetable, overnight
QR 3545 leaves 14 h 50 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.