W6 2095 then FR 2507 at Barcelona
Krakow → Barcelona → Cologne
Timetable, Barcelona time
18:20W6 2095 from Krakow at the gate
14:10FR 2507 to Cologne leaves the gate
19 h 50 apart on the timetable, overnight
FR 2507 leaves 19 h 50 after W6 2095 arrives on the timetable: more than half a day, so not a connection we count.