FR 2251 then FR 7351 at Barcelona
Marrakesh → Barcelona → Vienna
Timetable, Barcelona time
20:35FR 2251 from Marrakesh at the gate
13:10FR 7351 to Vienna leaves the gate
16 h 35 apart on the timetable, overnight
FR 7351 leaves 16 h 35 after FR 2251 arrives on the timetable: more than half a day, so not a connection we count.