FR 2240 then FR 4545 at Barcelona
Marrakesh → Barcelona → Porto
Timetable, Barcelona time
13:25FR 2240 from Marrakesh at the gate
09:20FR 4545 to Porto leaves the gate
19 h 55 apart on the timetable, overnight
FR 4545 leaves 19 h 55 after FR 2240 arrives on the timetable: more than half a day, so not a connection we count.