3O 391 then FR 2766 at Madrid
Tangier → Madrid → Prague
Timetable, Madrid time
18:353O 391 from Tangier at the gate
10:05FR 2766 to Prague leaves the gate
15 h 30 apart on the timetable, overnight
FR 2766 leaves 15 h 30 after 3O 391 arrives on the timetable: more than half a day, so not a connection we count.