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