FR 2251 then EW 521 at Barcelona
Marrakesh → Barcelona → Cologne
Timetable, Barcelona time
15:25FR 2251 from Marrakesh at the gate
13:25EW 521 to Cologne leaves the gate
22 h apart on the timetable, overnight
EW 521 leaves 22 h after FR 2251 arrives on the timetable: more than half a day, so not a connection we count.