FR 6712 then VL 1801 at Madrid
Budapest → Madrid → Munich
Timetable, Madrid time
18:10FR 6712 from Budapest at the gate
12:00VL 1801 to Munich leaves the gate
17 h 50 apart on the timetable, overnight
VL 1801 leaves 17 h 50 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.