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