FR 6712 then EY 2605 at Madrid
Budapest → Madrid → Bogota
Timetable, Madrid time
11:55FR 6712 from Budapest at the gate
10:10EY 2605 to Bogota leaves the gate
22 h 15 apart on the timetable, overnight
EY 2605 leaves 22 h 15 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.