FR 7156 then AD 8001 at Madrid
Dublin → Madrid → Recife
Timetable, Madrid time
12:45FR 7156 from Dublin at the gate
10:25AD 8001 to Recife leaves the gate
21 h 40 apart on the timetable, overnight
AD 8001 leaves 21 h 40 after FR 7156 arrives on the timetable: more than half a day, so not a connection we count.