FR 2767 then 3O 392 at Madrid
Prague → Madrid → Tangier
Timetable, Madrid time
17:45FR 2767 from Prague at the gate
17:303O 392 to Tangier leaves the gate
23 h 45 apart on the timetable, overnight
3O 392 leaves 23 h 45 after FR 2767 arrives on the timetable: more than half a day, so not a connection we count.