IB 654 then 3O 394 at Madrid
Rome → Madrid → Casablanca
Timetable, Madrid time
21:35IB 654 from Rome at the gatealso LA 1548, VY 5105, QR 8011
16:503O 394 to Casablanca leaves the gate
19 h 15 apart on the timetable, overnight
3O 394 leaves 19 h 15 after IB 654 arrives on the timetable: more than half a day, so not a connection we count.