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