FR 6712 then VY 5371 at Madrid
Budapest → Madrid → Casablanca
Timetable, Madrid time
18:10FR 6712 from Budapest at the gate
11:05VY 5371 to Casablanca leaves the gatealso QR 6981, BA 7264, AA 8693
16 h 55 apart on the timetable, overnight
VY 5371 leaves 16 h 55 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.