FR 2240 then W4 6018 at Barcelona
Marrakesh → Barcelona → Rome
Timetable, Barcelona time
15:00FR 2240 from Marrakesh at the gate
09:45W4 6018 to Rome leaves the gate
18 h 45 apart on the timetable, overnight
W4 6018 leaves 18 h 45 after FR 2240 arrives on the timetable: more than half a day, so not a connection we count.