AA 8634 then FR 494 at Madrid
Tenerife South → Madrid → Dublin
Timetable, Madrid time
13:00AA 8634 from Tenerife South at the gate
10:10FR 494 to Dublin leaves the gate
21 h 10 apart on the timetable, overnight
FR 494 leaves 21 h 10 after AA 8634 arrives on the timetable: more than half a day, so not a connection we count.