FR 879 then FR 2239 at Barcelona
Venezia → Barcelona → Marrakesh
Timetable, Barcelona time
22:30FR 879 from Venezia at the gate
12:35FR 2239 to Marrakesh leaves the gate
14 h 05 apart on the timetable, overnight
FR 2239 leaves 14 h 05 after FR 879 arrives on the timetable: more than half a day, so not a connection we count.