FR 189 then MU 4964 at Madrid
Edinburgh → Madrid → London Gatwick
Timetable, Madrid time
18:35FR 189 from Edinburgh at the gate
15:00MU 4964 to London Gatwick leaves the gatealso AM 6940
20 h 25 apart on the timetable, overnight
MU 4964 leaves 20 h 25 after FR 189 arrives on the timetable: more than half a day, so not a connection we count.