FR 2752 then FR 5993 at Madrid
Milan → Madrid → London Stansted
Timetable, Madrid time
18:40FR 2752 from Milan at the gate
13:20FR 5993 to London Stansted leaves the gate
18 h 40 apart on the timetable, overnight
FR 5993 leaves 18 h 40 after FR 2752 arrives on the timetable: more than half a day, so not a connection we count.