BA 458 then FR 9430 at Madrid
London Heathrow → Madrid → Marrakesh
Timetable, Madrid time
11:00BA 458 from London Heathrow at the gate
09:30FR 9430 to Marrakesh leaves the gate
22 h 30 apart on the timetable, overnight
FR 9430 leaves 22 h 30 after BA 458 arrives on the timetable: more than half a day, so not a connection we count.