FR 5898 then UX 1015 at Madrid
Torino → Madrid → London Gatwick
Timetable, Madrid time
15:10FR 5898 from Torino at the gate
15:00UX 1015 to London Gatwick leaves the gate
23 h 50 apart on the timetable, overnight
UX 1015 leaves 23 h 50 after FR 5898 arrives on the timetable: more than half a day, so not a connection we count.