FR 689 then QY 932 at Madrid
Vienna → Madrid → Tangier
Timetable, Madrid time
16:00FR 689 from Vienna at the gate
12:10QY 932 to Tangier leaves the gate
20 h 10 apart on the timetable, overnight
QY 932 leaves 20 h 10 after FR 689 arrives on the timetable: more than half a day, so not a connection we count.