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