FR 6712 then IB 1545 at Madrid
Budapest → Madrid → Tenerife South
Timetable, Madrid time
12:55FR 6712 from Budapest at the gate
11:55IB 1545 to Tenerife South leaves the gate
23 h apart on the timetable, overnight
IB 1545 leaves 23 h after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.