FR 6712 then VY 5211 at Madrid
Budapest → Madrid → Geneva
Timetable, Madrid time
12:55FR 6712 from Budapest at the gate
11:25VY 5211 to Geneva leaves the gatealso AA 8789
22 h 30 apart on the timetable, overnight
VY 5211 leaves 22 h 30 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.