FR 6712 then V7 2661 at Madrid
Budapest → Madrid → Lyon
Timetable, Madrid time
18:10FR 6712 from Budapest at the gate
12:45V7 2661 to Lyon leaves the gate
18 h 35 apart on the timetable, overnight
V7 2661 leaves 18 h 35 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.