FR 6712 then AV 6042 at Madrid
Budapest → Madrid → Tenerife South
Timetable, Madrid time
18:10FR 6712 from Budapest at the gate
11:50AV 6042 to Tenerife South leaves the gate
17 h 40 apart on the timetable, overnight
AV 6042 leaves 17 h 40 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.