FR 8249 then FR 5995 at Madrid
Milan → Madrid → London Stansted
Timetable, Madrid time
10:50FR 8249 from Milan at the gate
10:20FR 5995 to London Stansted leaves the gate
23 h 30 apart on the timetable, overnight
FR 5995 leaves 23 h 30 after FR 8249 arrives on the timetable: more than half a day, so not a connection we count.