QR 3551 then FR 3976 at Barcelona
Santiago de Compostela → Barcelona → Dublin
Timetable, Barcelona time
15:35QR 3551 from Santiago de Compostela at the gate
12:55FR 3976 to Dublin leaves the gate
21 h 20 apart on the timetable, overnight
FR 3976 leaves 21 h 20 after QR 3551 arrives on the timetable: more than half a day, so not a connection we count.