FR 3081 then FR 2239 at Barcelona
Málaga → Barcelona → Marrakesh
Timetable, Barcelona time
00:50FR 3081 from Málaga at the gate
19:25FR 2239 to Marrakesh leaves the gate
18 h 35 apart on the timetable
FR 2239 leaves 18 h 35 after FR 3081 arrives on the timetable: more than half a day, so not a connection we count.