QR 3716 then FR 2507 at Barcelona
Rome → Barcelona → Cologne
Timetable, Barcelona time
14:25QR 3716 from Rome at the gate
14:10FR 2507 to Cologne leaves the gate
23 h 45 apart on the timetable, overnight
FR 2507 leaves 23 h 45 after QR 3716 arrives on the timetable: more than half a day, so not a connection we count.