FR 5494 then IB 1857 at Madrid
Milan Bergamo → Madrid → Marrakesh
Timetable, Madrid time
21:40FR 5494 from Milan Bergamo at the gate
19:30IB 1857 to Marrakesh leaves the gatealso AT 5304, VY 5477, BA 7165
21 h 50 apart on the timetable, overnight
IB 1857 leaves 21 h 50 after FR 5494 arrives on the timetable: more than half a day, so not a connection we count.