FR 689 then AD 8001 at Madrid
Vienna → Madrid → Recife
Timetable, Madrid time
17:05FR 689 from Vienna at the gate
10:25AD 8001 to Recife leaves the gate
17 h 20 apart on the timetable, overnight
AD 8001 leaves 17 h 20 after FR 689 arrives on the timetable: more than half a day, so not a connection we count.