FR 6712 then IB 1021 at Madrid
Budapest → Madrid → Granada
Timetable, Madrid time
12:55FR 6712 from Budapest at the gate
12:25IB 1021 to Granada leaves the gatealso AY 4825, VY 5603, QR 6874, BA 7187, AA 8643
23 h 30 apart on the timetable, overnight
IB 1021 leaves 23 h 30 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.