FR 6712 then FR 3186 at Madrid
Budapest → Madrid → Manchester
Timetable, Madrid time
09:30FR 6712 from Budapest at the gate
06:00FR 3186 to Manchester leaves the gate
20 h 30 apart on the timetable, overnight
FR 3186 leaves 20 h 30 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.