EC 7154 then FR 2507 at Barcelona
Milan → Barcelona → Cologne
Timetable, Barcelona time
17:15EC 7154 from Milan at the gate
14:10FR 2507 to Cologne leaves the gate
20 h 55 apart on the timetable, overnight
FR 2507 leaves 20 h 55 after EC 7154 arrives on the timetable: more than half a day, so not a connection we count.