IB 5965 then FR 2507 at Barcelona
Tangier → Barcelona → Cologne
Timetable, Barcelona time
11:05IB 5965 from Tangier at the gate
06:20FR 2507 to Cologne leaves the gate
19 h 15 apart on the timetable, overnight
FR 2507 leaves 19 h 15 after IB 5965 arrives on the timetable: more than half a day, so not a connection we count.