AD 8000 then FR 494 at Madrid
Recife → Madrid → Dublin
Timetable, Madrid time
08:25AD 8000 from Recife at the gate
23:10FR 494 to Dublin leaves the gate
14 h 45 apart on the timetable
FR 494 leaves 14 h 45 after AD 8000 arrives on the timetable: more than half a day, so not a connection we count.