FR 7466 then EW 3181 at Madrid
Tangier → Madrid → Prague
Timetable, Madrid time
14:05FR 7466 from Tangier at the gate
13:55EW 3181 to Prague leaves the gate
23 h 50 apart on the timetable, overnight
EW 3181 leaves 23 h 50 after FR 7466 arrives on the timetable: more than half a day, so not a connection we count.