BA 458 then 3O 394 at Madrid
London Heathrow → Madrid → Casablanca
Timetable, Madrid time
11:00BA 458 from London Heathrow at the gate
23:103O 394 to Casablanca leaves the gate
12 h 10 apart on the timetable
3O 394 leaves 12 h 10 after BA 458 arrives on the timetable: more than half a day, so not a connection we count.