FR 7958 then FR 2507 at Barcelona
Cork → Barcelona → Cologne
Timetable, Barcelona time
22:55FR 7958 from Cork at the gate
17:50FR 2507 to Cologne leaves the gate
18 h 55 apart on the timetable, overnight
FR 2507 leaves 18 h 55 after FR 7958 arrives on the timetable: more than half a day, so not a connection we count.