AD 8000 then FR 3186 at Madrid
Recife → Madrid → Manchester
Timetable, Madrid time
08:25AD 8000 from Recife at the gate
06:30FR 3186 to Manchester leaves the gate
22 h 05 apart on the timetable, overnight
FR 3186 leaves 22 h 05 after AD 8000 arrives on the timetable: more than half a day, so not a connection we count.