FR 5712 then IB 1185 at Madrid
Budapest → Madrid → Lyon
Timetable, Madrid time
09:05FR 5712 from Budapest at the gate
21:55IB 1185 to Lyon leaves the gatealso LA 1664, VY 5786, QR 6531
12 h 50 apart on the timetable
IB 1185 leaves 12 h 50 after FR 5712 arrives on the timetable: more than half a day, so not a connection we count.