FR 6792 then W4 7547 at Madrid
Marrakesh → Madrid → Málaga
Timetable, Madrid time
22:05FR 6792 from Marrakesh at the gate
18:55W4 7547 to Málaga leaves the gate
20 h 50 apart on the timetable, overnight
W4 7547 leaves 20 h 50 after FR 6792 arrives on the timetable: more than half a day, so not a connection we count.