FR 6712 then AT 5423 at Madrid
Budapest → Madrid → Tenerife North
Timetable, Madrid time
18:10FR 6712 from Budapest at the gate
16:10AT 5423 to Tenerife North leaves the gatealso VY 5484
22 h apart on the timetable, overnight
AT 5423 leaves 22 h after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.