FR 2512 then FR 3976 at Barcelona
Cologne → Barcelona → Dublin
Timetable, Barcelona time
08:30FR 2512 from Cologne at the gate
06:40FR 3976 to Dublin leaves the gate
22 h 10 apart on the timetable, overnight
FR 3976 leaves 22 h 10 after FR 2512 arrives on the timetable: more than half a day, so not a connection we count.