FR 6712 then 3O 394 at Madrid
Budapest → Madrid → Casablanca
Timetable, Madrid time
09:30FR 6712 from Budapest at the gate
23:103O 394 to Casablanca leaves the gate
13 h 40 apart on the timetable
3O 394 leaves 13 h 40 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.