FR 6723 then LA 1654 at Madrid
Marrakesh → Madrid → Venezia
Timetable, Madrid time
22:45FR 6723 from Marrakesh at the gate
21:30LA 1654 to Venezia leaves the gatealso VY 5160, QR 6946
22 h 45 apart on the timetable, overnight
LA 1654 leaves 22 h 45 after FR 6723 arrives on the timetable: more than half a day, so not a connection we count.